home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-08-25 | 29.9 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Windows Terminal Configuration (other/windowsTerminalConfiguration)
| ext
| Unsupported |
100%
| file
| data
| default
| |
100%
| TrID
| Digital Micrograph Script
| default (weak)
| |
100%
| gt2
| C/C++ Source Code
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 2f 2a 0a 20 2a 20 24 49 | 64 3a 20 78 08 19 00 9c |/*. * $I|d: x....|
|00000010| 08 19 fe fc 54 4a 08 07 | 52 74 08 07 32 20 31 39 |....TJ..|Rt..2 19|
|00000020| 39 39 2f 30 38 2f 32 35 | 20 31 36 3a 31 36 3a 34 |99/08/25| 16:16:4|
|00000030| 30 20 6c 68 65 63 6b 69 | 6e 67 20 45 78 70 20 24 |0 lhecki|ng Exp $|
|00000040| 0a 20 2a 0a 20 2a 2f 0a | 0a 2f 2a 5b 0a 20 2a 20 |. *. */.|./*[. * |
|00000050| 43 6f 70 79 72 69 67 68 | 74 20 31 39 38 36 20 2d |Copyrigh|t 1986 -|
|00000060| 20 31 39 39 33 2c 20 31 | 39 39 38 20 20 20 54 68 | 1993, 1|998 Th|
|00000070| 6f 6d 61 73 20 57 69 6c | 6c 69 61 6d 73 2c 20 43 |omas Wil|liams, C|
|00000080| 6f 6c 69 6e 20 4b 65 6c | 6c 65 79 0a 20 2a 0a 20 |olin Kel|ley. *. |
|00000090| 2a 20 50 65 72 6d 69 73 | 73 69 6f 6e 20 74 6f 20 |* Permis|sion to |
|000000a0| 75 73 65 2c 20 63 6f 70 | 79 2c 20 61 6e 64 20 64 |use, cop|y, and d|
|000000b0| 69 73 74 72 69 62 75 74 | 65 20 74 68 69 73 20 73 |istribut|e this s|
|000000c0| 6f 66 74 77 61 72 65 20 | 61 6e 64 20 69 74 73 0a |oftware |and its.|
|000000d0| 20 2a 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e | * docum|entation|
|000000e0| 20 66 6f 72 20 61 6e 79 | 20 70 75 72 70 6f 73 65 | for any| purpose|
|000000f0| 20 77 69 74 68 20 6f 72 | 20 77 69 74 68 6f 75 74 | with or| without|
|00000100| 20 66 65 65 20 69 73 20 | 68 65 72 65 62 79 20 67 | fee is |hereby g|
|00000110| 72 61 6e 74 65 64 2c 0a | 20 2a 20 70 72 6f 76 69 |ranted,.| * provi|
|00000120| 64 65 64 20 74 68 61 74 | 20 74 68 65 20 61 62 6f |ded that| the abo|
|00000130| 76 65 20 63 6f 70 79 72 | 69 67 68 74 20 6e 6f 74 |ve copyr|ight not|
|00000140| 69 63 65 20 61 70 70 65 | 61 72 20 69 6e 20 61 6c |ice appe|ar in al|
|00000150| 6c 20 63 6f 70 69 65 73 | 20 61 6e 64 0a 20 2a 20 |l copies| and. * |
|00000160| 74 68 61 74 20 62 6f 74 | 68 20 74 68 61 74 20 63 |that bot|h that c|
|00000170| 6f 70 79 72 69 67 68 74 | 20 6e 6f 74 69 63 65 20 |opyright| notice |
|00000180| 61 6e 64 20 74 68 69 73 | 20 70 65 72 6d 69 73 73 |and this| permiss|
|00000190| 69 6f 6e 20 6e 6f 74 69 | 63 65 20 61 70 70 65 61 |ion noti|ce appea|
|000001a0| 72 0a 20 2a 20 69 6e 20 | 73 75 70 70 6f 72 74 69 |r. * in |supporti|
|000001b0| 6e 67 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |ng docum|entation|
|000001c0| 2e 0a 20 2a 0a 20 2a 20 | 50 65 72 6d 69 73 73 69 |.. *. * |Permissi|
|000001d0| 6f 6e 20 74 6f 20 6d 6f | 64 69 66 79 20 74 68 65 |on to mo|dify the|
|000001e0| 20 73 6f 66 74 77 61 72 | 65 20 69 73 20 67 72 61 | softwar|e is gra|
|000001f0| 6e 74 65 64 2c 20 62 75 | 74 20 6e 6f 74 20 74 68 |nted, bu|t not th|
|00000200| 65 20 72 69 67 68 74 20 | 74 6f 0a 20 2a 20 64 69 |e right |to. * di|
|00000210| 73 74 72 69 62 75 74 65 | 20 74 68 65 20 63 6f 6d |stribute| the com|
|00000220| 70 6c 65 74 65 20 6d 6f | 64 69 66 69 65 64 20 73 |plete mo|dified s|
|00000230| 6f 75 72 63 65 20 63 6f | 64 65 2e 20 20 4d 6f 64 |ource co|de. Mod|
|00000240| 69 66 69 63 61 74 69 6f | 6e 73 20 61 72 65 20 74 |ificatio|ns are t|
|00000250| 6f 0a 20 2a 20 62 65 20 | 64 69 73 74 72 69 62 75 |o. * be |distribu|
|00000260| 74 65 64 20 61 73 20 70 | 61 74 63 68 65 73 20 74 |ted as p|atches t|
|00000270| 6f 20 74 68 65 20 72 65 | 6c 65 61 73 65 64 20 76 |o the re|leased v|
|00000280| 65 72 73 69 6f 6e 2e 20 | 20 50 65 72 6d 69 73 73 |ersion. | Permiss|
|00000290| 69 6f 6e 20 74 6f 0a 20 | 2a 20 64 69 73 74 72 69 |ion to. |* distri|
|000002a0| 62 75 74 65 20 62 69 6e | 61 72 69 65 73 20 70 72 |bute bin|aries pr|
|000002b0| 6f 64 75 63 65 64 20 62 | 79 20 63 6f 6d 70 69 6c |oduced b|y compil|
|000002c0| 69 6e 67 20 6d 6f 64 69 | 66 69 65 64 20 73 6f 75 |ing modi|fied sou|
|000002d0| 72 63 65 73 20 69 73 20 | 67 72 61 6e 74 65 64 2c |rces is |granted,|
|000002e0| 0a 20 2a 20 70 72 6f 76 | 69 64 65 64 20 79 6f 75 |. * prov|ided you|
|000002f0| 0a 20 2a 20 20 20 31 2e | 20 64 69 73 74 72 69 62 |. * 1.| distrib|
|00000300| 75 74 65 20 74 68 65 20 | 63 6f 72 72 65 73 70 6f |ute the |correspo|
|00000310| 6e 64 69 6e 67 20 73 6f | 75 72 63 65 20 6d 6f 64 |nding so|urce mod|
|00000320| 69 66 69 63 61 74 69 6f | 6e 73 20 66 72 6f 6d 20 |ificatio|ns from |
|00000330| 74 68 65 0a 20 2a 20 20 | 20 20 72 65 6c 65 61 73 |the. * | releas|
|00000340| 65 64 20 76 65 72 73 69 | 6f 6e 20 69 6e 20 74 68 |ed versi|on in th|
|00000350| 65 20 66 6f 72 6d 20 6f | 66 20 61 20 70 61 74 63 |e form o|f a patc|
|00000360| 68 20 66 69 6c 65 20 61 | 6c 6f 6e 67 20 77 69 74 |h file a|long wit|
|00000370| 68 20 74 68 65 20 62 69 | 6e 61 72 69 65 73 2c 0a |h the bi|naries,.|
|00000380| 20 2a 20 20 20 32 2e 20 | 61 64 64 20 73 70 65 63 | * 2. |add spec|
|00000390| 69 61 6c 20 76 65 72 73 | 69 6f 6e 20 69 64 65 6e |ial vers|ion iden|
|000003a0| 74 69 66 69 63 61 74 69 | 6f 6e 20 74 6f 20 64 69 |tificati|on to di|
|000003b0| 73 74 69 6e 67 75 69 73 | 68 20 79 6f 75 72 20 76 |stinguis|h your v|
|000003c0| 65 72 73 69 6f 6e 0a 20 | 2a 20 20 20 20 69 6e 20 |ersion. |* in |
|000003d0| 61 64 64 69 74 69 6f 6e | 20 74 6f 20 74 68 65 20 |addition| to the |
|000003e0| 62 61 73 65 20 72 65 6c | 65 61 73 65 20 76 65 72 |base rel|ease ver|
|000003f0| 73 69 6f 6e 20 6e 75 6d | 62 65 72 2c 0a 20 2a 20 |sion num|ber,. * |
|00000400| 20 20 33 2e 20 70 72 6f | 76 69 64 65 20 79 6f 75 | 3. pro|vide you|
|00000410| 72 20 6e 61 6d 65 20 61 | 6e 64 20 61 64 64 72 65 |r name a|nd addre|
|00000420| 73 73 20 61 73 20 74 68 | 65 20 70 72 69 6d 61 72 |ss as th|e primar|
|00000430| 79 20 63 6f 6e 74 61 63 | 74 20 66 6f 72 20 74 68 |y contac|t for th|
|00000440| 65 0a 20 2a 20 20 20 20 | 73 75 70 70 6f 72 74 20 |e. * |support |
|00000450| 6f 66 20 79 6f 75 72 20 | 6d 6f 64 69 66 69 65 64 |of your |modified|
|00000460| 20 76 65 72 73 69 6f 6e | 2c 20 61 6e 64 0a 20 2a | version|, and. *|
|00000470| 20 20 20 34 2e 20 72 65 | 74 61 69 6e 20 6f 75 72 | 4. re|tain our|
|00000480| 20 63 6f 6e 74 61 63 74 | 20 69 6e 66 6f 72 6d 61 | contact| informa|
|00000490| 74 69 6f 6e 20 69 6e 20 | 72 65 67 61 72 64 20 74 |tion in |regard t|
|000004a0| 6f 20 75 73 65 20 6f 66 | 20 74 68 65 20 62 61 73 |o use of| the bas|
|000004b0| 65 0a 20 2a 20 20 20 20 | 73 6f 66 74 77 61 72 65 |e. * |software|
|000004c0| 2e 0a 20 2a 20 50 65 72 | 6d 69 73 73 69 6f 6e 20 |.. * Per|mission |
|000004d0| 74 6f 20 64 69 73 74 72 | 69 62 75 74 65 20 74 68 |to distr|ibute th|
|000004e0| 65 20 72 65 6c 65 61 73 | 65 64 20 76 65 72 73 69 |e releas|ed versi|
|000004f0| 6f 6e 20 6f 66 20 74 68 | 65 20 73 6f 75 72 63 65 |on of th|e source|
|00000500| 20 63 6f 64 65 20 61 6c | 6f 6e 67 0a 20 2a 20 77 | code al|ong. * w|
|00000510| 69 74 68 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |ith corr|espondin|
|00000520| 67 20 73 6f 75 72 63 65 | 20 6d 6f 64 69 66 69 63 |g source| modific|
|00000530| 61 74 69 6f 6e 73 20 69 | 6e 20 74 68 65 20 66 6f |ations i|n the fo|
|00000540| 72 6d 20 6f 66 20 61 20 | 70 61 74 63 68 20 66 69 |rm of a |patch fi|
|00000550| 6c 65 20 69 73 0a 20 2a | 20 67 72 61 6e 74 65 64 |le is. *| granted|
|00000560| 20 77 69 74 68 20 73 61 | 6d 65 20 70 72 6f 76 69 | with sa|me provi|
|00000570| 73 69 6f 6e 73 20 32 20 | 74 68 72 6f 75 67 68 20 |sions 2 |through |
|00000580| 34 20 66 6f 72 20 62 69 | 6e 61 72 79 20 64 69 73 |4 for bi|nary dis|
|00000590| 74 72 69 62 75 74 69 6f | 6e 73 2e 0a 20 2a 0a 20 |tributio|ns.. *. |
|000005a0| 2a 20 54 68 69 73 20 73 | 6f 66 74 77 61 72 65 20 |* This s|oftware |
|000005b0| 69 73 20 70 72 6f 76 69 | 64 65 64 20 22 61 73 20 |is provi|ded "as |
|000005c0| 69 73 22 20 77 69 74 68 | 6f 75 74 20 65 78 70 72 |is" with|out expr|
|000005d0| 65 73 73 20 6f 72 20 69 | 6d 70 6c 69 65 64 20 77 |ess or i|mplied w|
|000005e0| 61 72 72 61 6e 74 79 0a | 20 2a 20 74 6f 20 74 68 |arranty.| * to th|
|000005f0| 65 20 65 78 74 65 6e 74 | 20 70 65 72 6d 69 74 74 |e extent| permitt|
|00000600| 65 64 20 62 79 20 61 70 | 70 6c 69 63 61 62 6c 65 |ed by ap|plicable|
|00000610| 20 6c 61 77 2e 0a 5d 2a | 2f 0a 0a 2f 2a 0a 20 2a | law..]*|/../*. *|
|00000620| 20 20 20 20 78 31 31 2e | 74 72 6d 20 20 2d 2d 2d | x11.|trm ---|
|00000630| 20 69 6e 62 6f 61 72 64 | 20 74 65 72 6d 69 6e 61 | inboard| termina|
|00000640| 6c 20 64 72 69 76 65 72 | 20 66 6f 72 20 58 31 31 |l driver| for X11|
|00000650| 0a 20 2a 2f 0a 0a 23 69 | 6e 63 6c 75 64 65 20 22 |. */..#i|nclude "|
|00000660| 64 72 69 76 65 72 2e 68 | 22 0a 0a 23 69 66 64 65 |driver.h|"..#ifde|
|00000670| 66 20 54 45 52 4d 5f 52 | 45 47 49 53 54 45 52 0a |f TERM_R|EGISTER.|
|00000680| 72 65 67 69 73 74 65 72 | 5f 74 65 72 6d 28 78 31 |register|_term(x1|
|00000690| 31 29 0a 23 65 6e 64 69 | 66 0a 0a 23 69 66 64 65 |1).#endi|f..#ifde|
|000006a0| 66 20 54 45 52 4d 5f 50 | 52 4f 54 4f 0a 69 6e 74 |f TERM_P|ROTO.int|
|000006b0| 20 58 31 31 5f 61 72 67 | 73 20 5f 5f 50 52 4f 54 | X11_arg|s __PROT|
|000006c0| 4f 28 28 69 6e 74 20 61 | 72 67 63 2c 20 63 68 61 |O((int a|rgc, cha|
|000006d0| 72 20 2a 61 72 67 76 5b | 5d 29 29 3b 0a 54 45 52 |r *argv[|]));.TER|
|000006e0| 4d 5f 50 55 42 4c 49 43 | 20 76 6f 69 64 20 58 31 |M_PUBLIC| void X1|
|000006f0| 31 5f 6f 70 74 69 6f 6e | 73 20 5f 5f 50 52 4f 54 |1_option|s __PROT|
|00000700| 4f 28 28 76 6f 69 64 29 | 29 3b 0a 54 45 52 4d 5f |O((void)|);.TERM_|
|00000710| 50 55 42 4c 49 43 20 76 | 6f 69 64 20 58 31 31 5f |PUBLIC v|oid X11_|
|00000720| 69 6e 69 74 20 5f 5f 50 | 52 4f 54 4f 28 28 76 6f |init __P|ROTO((vo|
|00000730| 69 64 29 29 3b 0a 54 45 | 52 4d 5f 50 55 42 4c 49 |id));.TE|RM_PUBLI|
|00000740| 43 20 76 6f 69 64 20 58 | 31 31 5f 67 72 61 70 68 |C void X|11_graph|
|00000750| 69 63 73 20 5f 5f 50 52 | 4f 54 4f 28 28 76 6f 69 |ics __PR|OTO((voi|
|00000760| 64 29 29 3b 0a 54 45 52 | 4d 5f 50 55 42 4c 49 43 |d));.TER|M_PUBLIC|
|00000770| 20 76 6f 69 64 20 58 31 | 31 5f 74 65 78 74 20 5f | void X1|1_text _|
|00000780| 5f 50 52 4f 54 4f 28 28 | 76 6f 69 64 29 29 3b 0a |_PROTO((|void));.|
|00000790| 54 45 52 4d 5f 50 55 42 | 4c 49 43 20 76 6f 69 64 |TERM_PUB|LIC void|
|000007a0| 20 58 31 31 5f 72 65 73 | 65 74 20 5f 5f 50 52 4f | X11_res|et __PRO|
|000007b0| 54 4f 28 28 76 6f 69 64 | 29 29 3b 0a 54 45 52 4d |TO((void|));.TERM|
|000007c0| 5f 50 55 42 4c 49 43 20 | 76 6f 69 64 20 58 31 31 |_PUBLIC |void X11|
|000007d0| 5f 6d 6f 76 65 20 5f 5f | 50 52 4f 54 4f 28 28 75 |_move __|PROTO((u|
|000007e0| 6e 73 69 67 6e 65 64 20 | 69 6e 74 20 78 2c 20 75 |nsigned |int x, u|
|000007f0| 6e 73 69 67 6e 65 64 20 | 69 6e 74 20 79 29 29 3b |nsigned |int y));|
|00000800| 0a 54 45 52 4d 5f 50 55 | 42 4c 49 43 20 76 6f 69 |.TERM_PU|BLIC voi|
|00000810| 64 20 58 31 31 5f 76 65 | 63 74 6f 72 20 5f 5f 50 |d X11_ve|ctor __P|
|00000820| 52 4f 54 4f 28 28 75 6e | 73 69 67 6e 65 64 20 69 |ROTO((un|signed i|
|00000830| 6e 74 20 78 2c 20 75 6e | 73 69 67 6e 65 64 20 69 |nt x, un|signed i|
|00000840| 6e 74 20 79 29 29 3b 0a | 54 45 52 4d 5f 50 55 42 |nt y));.|TERM_PUB|
|00000850| 4c 49 43 20 76 6f 69 64 | 20 58 31 31 5f 6c 69 6e |LIC void| X11_lin|
|00000860| 65 77 69 64 74 68 20 5f | 5f 50 52 4f 54 4f 28 28 |ewidth _|_PROTO((|
|00000870| 64 6f 75 62 6c 65 20 6c | 77 29 29 3b 0a 54 45 52 |double l|w));.TER|
|00000880| 4d 5f 50 55 42 4c 49 43 | 20 76 6f 69 64 20 58 31 |M_PUBLIC| void X1|
|00000890| 31 5f 70 6f 69 6e 74 73 | 69 7a 65 20 5f 5f 50 52 |1_points|ize __PR|
|000008a0| 4f 54 4f 28 28 64 6f 75 | 62 6c 65 20 70 73 29 29 |OTO((dou|ble ps))|
|000008b0| 3b 0a 54 45 52 4d 5f 50 | 55 42 4c 49 43 20 76 6f |;.TERM_P|UBLIC vo|
|000008c0| 69 64 20 58 31 31 5f 6c | 69 6e 65 74 79 70 65 20 |id X11_l|inetype |
|000008d0| 5f 5f 50 52 4f 54 4f 28 | 28 69 6e 74 20 6c 74 29 |__PROTO(|(int lt)|
|000008e0| 29 3b 0a 54 45 52 4d 5f | 50 55 42 4c 49 43 20 76 |);.TERM_|PUBLIC v|
|000008f0| 6f 69 64 20 58 31 31 5f | 70 75 74 5f 74 65 78 74 |oid X11_|put_text|
|00000900| 20 5f 5f 50 52 4f 54 4f | 28 28 75 6e 73 69 67 6e | __PROTO|((unsign|
|00000910| 65 64 20 69 6e 74 20 78 | 2c 20 75 6e 73 69 67 6e |ed int x|, unsign|
|00000920| 65 64 20 69 6e 74 20 79 | 2c 20 63 68 61 72 20 73 |ed int y|, char s|
|00000930| 74 72 5b 5d 29 29 3b 0a | 54 45 52 4d 5f 50 55 42 |tr[]));.|TERM_PUB|
|00000940| 4c 49 43 20 69 6e 74 20 | 58 31 31 5f 6a 75 73 74 |LIC int |X11_just|
|00000950| 69 66 79 5f 74 65 78 74 | 20 5f 5f 50 52 4f 54 4f |ify_text| __PROTO|
|00000960| 28 28 65 6e 75 6d 20 4a | 55 53 54 49 46 59 20 6d |((enum J|USTIFY m|
|00000970| 6f 64 65 29 29 3b 0a 54 | 45 52 4d 5f 50 55 42 4c |ode));.T|ERM_PUBL|
|00000980| 49 43 20 76 6f 69 64 20 | 58 31 31 5f 70 6f 69 6e |IC void |X11_poin|
|00000990| 74 20 5f 5f 50 52 4f 54 | 4f 28 28 75 6e 73 69 67 |t __PROT|O((unsig|
|000009a0| 6e 65 64 20 69 6e 74 20 | 78 2c 20 75 6e 73 69 67 |ned int |x, unsig|
|000009b0| 6e 65 64 20 69 6e 74 20 | 79 2c 20 69 6e 74 20 6e |ned int |y, int n|
|000009c0| 75 6d 62 65 72 29 29 3b | 0a 54 45 52 4d 5f 50 55 |umber));|.TERM_PU|
|000009d0| 42 4c 49 43 20 76 6f 69 | 64 20 58 31 31 5f 66 69 |BLIC voi|d X11_fi|
|000009e0| 6c 6c 62 6f 78 20 5f 5f | 50 52 4f 54 4f 28 28 69 |llbox __|PROTO((i|
|000009f0| 6e 74 20 73 74 79 6c 65 | 2c 20 75 6e 73 69 67 6e |nt style|, unsign|
|00000a00| 65 64 20 69 6e 74 20 78 | 2c 20 75 6e 73 69 67 6e |ed int x|, unsign|
|00000a10| 65 64 20 79 2c 20 75 6e | 73 69 67 6e 65 64 20 69 |ed y, un|signed i|
|00000a20| 6e 74 20 77 69 64 74 68 | 2c 20 75 6e 73 69 67 6e |nt width|, unsign|
|00000a30| 65 64 20 69 6e 74 20 68 | 65 69 67 68 74 29 29 3b |ed int h|eight));|
|00000a40| 0a 23 64 65 66 69 6e 65 | 20 58 31 31 5f 58 4d 41 |.#define| X11_XMA|
|00000a50| 58 20 34 30 39 36 0a 23 | 64 65 66 69 6e 65 20 58 |X 4096.#|define X|
|00000a60| 31 31 5f 59 4d 41 58 20 | 34 30 39 36 0a 0a 2f 2a |11_YMAX |4096../*|
|00000a70| 20 61 70 70 72 6f 78 69 | 6d 61 74 69 6f 6e 73 20 | approxi|mations |
|00000a80| 66 6f 72 20 74 79 70 69 | 63 61 6c 20 66 6f 6e 74 |for typi|cal font|
|00000a90| 2f 73 63 72 65 65 6e 20 | 73 69 7a 65 73 20 2a 2f |/screen |sizes */|
|00000aa0| 0a 23 64 65 66 69 6e 65 | 20 58 31 31 5f 56 43 48 |.#define| X11_VCH|
|00000ab0| 41 52 20 28 58 31 31 5f | 59 4d 41 58 2f 32 35 29 |AR (X11_|YMAX/25)|
|00000ac0| 0a 23 64 65 66 69 6e 65 | 20 58 31 31 5f 48 43 48 |.#define| X11_HCH|
|00000ad0| 41 52 20 28 58 31 31 5f | 58 4d 41 58 2f 31 30 30 |AR (X11_|XMAX/100|
|00000ae0| 29 0a 23 64 65 66 69 6e | 65 20 58 31 31 5f 56 54 |).#defin|e X11_VT|
|00000af0| 49 43 20 28 58 31 31 5f | 59 4d 41 58 2f 31 30 30 |IC (X11_|YMAX/100|
|00000b00| 29 0a 23 64 65 66 69 6e | 65 20 58 31 31 5f 48 54 |).#defin|e X11_HT|
|00000b10| 49 43 20 28 58 31 31 5f | 58 4d 41 58 2f 31 35 30 |IC (X11_|XMAX/150|
|00000b20| 29 0a 23 65 6e 64 69 66 | 0a 0a 0a 23 69 66 6e 64 |).#endif|...#ifnd|
|00000b30| 65 66 20 54 45 52 4d 5f | 50 52 4f 54 4f 5f 4f 4e |ef TERM_|PROTO_ON|
|00000b40| 4c 59 0a 0a 23 69 66 64 | 65 66 20 54 45 52 4d 5f |LY..#ifd|ef TERM_|
|00000b50| 42 4f 44 59 0a 0a 2f 2a | 20 6e 6f 6e 2d 7a 65 72 |BODY../*| non-zer|
|00000b60| 6f 20 69 66 20 27 2d 64 | 69 73 70 6c 61 79 27 20 |o if '-d|isplay' |
|00000b70| 66 6f 75 6e 64 20 6f 6e | 20 63 6f 6d 6d 61 6e 64 |found on| command|
|00000b80| 20 6c 69 6e 65 20 2a 2f | 0a 69 6e 74 20 58 31 31 | line */|.int X11|
|00000b90| 5f 44 69 73 70 6c 61 79 | 20 3d 20 30 3b 0a 0a 0a |_Display| = 0;...|
|00000ba0| 2f 2a 20 73 75 6e 6f 73 | 20 34 20 75 73 65 73 20 |/* sunos| 4 uses |
|00000bb0| 6f 6e 5f 65 78 69 74 28 | 29 20 69 6e 20 70 6c 61 |on_exit(|) in pla|
|00000bc0| 63 65 20 6f 66 20 61 74 | 65 78 69 74 28 29 2e 20 |ce of at|exit(). |
|00000bd0| 49 66 20 62 6f 74 68 20 | 61 72 65 20 6d 69 73 73 |If both |are miss|
|00000be0| 69 6e 67 2c 0a 20 2a 20 | 77 65 20 63 61 6e 20 70 |ing,. * |we can p|
|00000bf0| 72 6f 62 61 62 6c 79 20 | 73 75 72 76 69 76 65 20 |robably |survive |
|00000c00| 73 69 6e 63 65 20 67 6e | 75 70 6c 6f 74 5f 78 31 |since gn|uplot_x1|
|00000c10| 31 20 73 68 6f 75 6c 64 | 20 64 65 74 65 63 74 20 |1 should| detect |
|00000c20| 45 4f 46 20 6f 6e 0a 20 | 2a 20 74 68 65 20 70 69 |EOF on. |* the pi|
|00000c30| 70 65 2e 20 55 6e 66 6f | 72 74 75 6e 61 74 65 6c |pe. Unfo|rtunatel|
|00000c40| 79 2c 20 74 68 65 20 68 | 61 6e 64 6c 65 72 73 20 |y, the h|andlers |
|00000c50| 74 61 6b 65 20 64 69 66 | 66 65 72 65 6e 74 20 70 |take dif|ferent p|
|00000c60| 61 72 61 6d 65 74 65 72 | 73 2e 0a 20 2a 2f 0a 0a |arameter|s.. */..|
|00000c70| 23 69 66 64 65 66 20 4e | 4f 5f 41 54 45 58 49 54 |#ifdef N|O_ATEXIT|
|00000c80| 0a 23 20 64 65 66 69 6e | 65 20 48 41 4e 44 4c 45 |.# defin|e HANDLE|
|00000c90| 52 5f 50 52 4f 54 4f 20 | 20 5f 5f 50 52 4f 54 4f |R_PROTO | __PROTO|
|00000ca0| 28 28 69 6e 74 20 78 2c | 20 76 6f 69 64 20 2a 79 |((int x,| void *y|
|00000cb0| 29 29 0a 23 20 64 65 66 | 69 6e 65 20 48 41 4e 44 |)).# def|ine HAND|
|00000cc0| 4c 45 52 5f 44 45 43 4c | 20 28 78 2c 79 29 20 69 |LER_DECL| (x,y) i|
|00000cd0| 6e 74 20 78 3b 20 76 6f | 69 64 20 2a 79 3b 0a 23 |nt x; vo|id *y;.#|
|00000ce0| 20 64 65 66 69 6e 65 20 | 48 41 4e 44 4c 45 52 5f | define |HANDLER_|
|00000cf0| 50 41 52 41 4d 53 20 28 | 30 2c 4e 55 4c 4c 29 0a |PARAMS (|0,NULL).|
|00000d00| 23 20 69 66 64 65 66 20 | 48 41 56 45 5f 4f 4e 5f |# ifdef |HAVE_ON_|
|00000d10| 45 58 49 54 0a 23 20 20 | 64 65 66 69 6e 65 20 61 |EXIT.# |define a|
|00000d20| 74 65 78 69 74 28 78 29 | 20 6f 6e 5f 65 78 69 74 |texit(x)| on_exit|
|00000d30| 28 78 2c 20 4e 55 4c 4c | 29 0a 23 20 65 6c 73 65 |(x, NULL|).# else|
|00000d40| 0a 23 20 20 64 65 66 69 | 6e 65 20 61 74 65 78 69 |.# defi|ne atexi|
|00000d50| 74 28 78 29 09 09 2f 2a | 20 6e 6f 77 74 20 2a 2f |t(x)../*| nowt */|
|00000d60| 0a 23 20 65 6e 64 69 66 | 0a 23 65 6c 73 65 20 2f |.# endif|.#else /|
|00000d70| 2a 20 21 4e 4f 5f 41 54 | 45 58 49 54 20 2a 2f 0a |* !NO_AT|EXIT */.|
|00000d80| 23 20 64 65 66 69 6e 65 | 20 48 41 4e 44 4c 45 52 |# define| HANDLER|
|00000d90| 5f 50 52 4f 54 4f 20 5f | 5f 50 52 4f 54 4f 28 28 |_PROTO _|_PROTO((|
|00000da0| 76 6f 69 64 29 29 0a 23 | 20 64 65 66 69 6e 65 20 |void)).#| define |
|00000db0| 48 41 4e 44 4c 45 52 5f | 44 45 43 4c 20 20 20 28 |HANDLER_|DECL (|
|00000dc0| 29 0a 23 20 64 65 66 69 | 6e 65 20 48 41 4e 44 4c |).# defi|ne HANDL|
|00000dd0| 45 52 5f 50 41 52 41 4d | 53 20 28 29 0a 23 65 6e |ER_PARAM|S ().#en|
|00000de0| 64 69 66 0a 0a 73 74 61 | 74 69 63 20 76 6f 69 64 |dif..sta|tic void|
|00000df0| 20 58 31 31 5f 61 74 65 | 78 69 74 20 48 41 4e 44 | X11_ate|xit HAND|
|00000e00| 4c 45 52 5f 50 52 4f 54 | 4f 3b 0a 0a 2f 2a 20 4d |LER_PROT|O;../* M|
|00000e10| 65 72 67 65 64 20 74 68 | 65 20 6f 6c 64 20 63 68 |erged th|e old ch|
|00000e20| 61 72 20 58 31 31 5f 6f | 70 74 73 5b 5d 20 61 6e |ar X11_o|pts[] an|
|00000e30| 64 20 69 6e 74 20 58 31 | 31 5f 6f 70 74 61 72 67 |d int X1|1_optarg|
|00000e40| 5b 5d 0a 20 2a 20 69 6e | 74 6f 20 6f 6e 65 20 61 |[]. * in|to one a|
|00000e50| 72 72 61 79 20 6f 66 20 | 73 74 72 75 63 74 73 2e |rray of |structs.|
|00000e60| 0a 20 2a 20 4c 6f 6f 73 | 65 6c 79 20 62 61 73 65 |. * Loos|ely base|
|00000e70| 64 20 6f 6e 20 58 72 6d | 4f 70 74 69 6f 6e 44 65 |d on Xrm|OptionDe|
|00000e80| 73 63 52 65 63 2c 20 74 | 68 65 20 75 73 65 20 6f |scRec, t|he use o|
|00000e90| 66 20 77 68 69 63 68 0a | 20 2a 20 77 6f 75 6c 64 |f which.| * would|
|00000ea0| 20 70 72 6f 62 61 62 6c | 79 20 62 65 20 6f 76 65 | probabl|y be ove|
|00000eb0| 72 6b 69 6c 6c 20 68 65 | 72 65 2e 20 2a 2f 0a 74 |rkill he|re. */.t|
|00000ec0| 79 70 65 64 65 66 20 65 | 6e 75 6d 20 7b 20 68 61 |ypedef e|num { ha|
|00000ed0| 73 4e 6f 41 72 67 2c 20 | 68 61 73 41 72 67 20 7d |sNoArg, |hasArg }|
|00000ee0| 20 4f 70 74 69 6f 6e 41 | 72 67 3b 0a 0a 73 74 61 | OptionA|rg;..sta|
|00000ef0| 74 69 63 20 73 74 72 75 | 63 74 20 78 31 31 6f 70 |tic stru|ct x11op|
|00000f00| 74 20 7b 0a 20 20 20 20 | 63 6f 6e 73 74 20 63 68 |t {. |const ch|
|00000f10| 61 72 20 2a 6f 70 74 69 | 6f 6e 3b 09 2f 2a 20 4e |ar *opti|on;./* N|
|00000f20| 61 6d 65 20 6f 66 20 6f | 70 74 69 6f 6e 20 2a 2f |ame of o|ption */|
|00000f30| 0a 20 20 20 20 4f 70 74 | 69 6f 6e 41 72 67 20 61 |. Opt|ionArg a|
|00000f40| 72 67 3b 09 2f 2a 20 57 | 68 65 74 68 65 72 20 6f |rg;./* W|hether o|
|00000f50| 70 74 69 6f 6e 20 68 61 | 73 20 61 72 67 75 6d 65 |ption ha|s argume|
|00000f60| 6e 74 20 2a 2f 0a 7d 20 | 20 58 31 31 5f 6f 70 74 |nt */.} | X11_opt|
|00000f70| 73 5b 5d 20 3d 0a 7b 0a | 20 20 20 7b 20 22 2d 6d |s[] =.{.| { "-m|
|00000f80| 6f 6e 6f 22 2c 20 68 61 | 73 4e 6f 41 72 67 20 7d |ono", ha|sNoArg }|
|00000f90| 2c 20 7b 20 22 2d 67 72 | 61 79 22 2c 20 68 61 73 |, { "-gr|ay", has|
|00000fa0| 4e 6f 41 72 67 20 7d 2c | 20 7b 20 22 2d 63 6c 65 |NoArg },| { "-cle|
|00000fb0| 61 72 22 2c 20 68 61 73 | 4e 6f 41 72 67 20 7d 2c |ar", has|NoArg },|
|00000fc0| 0a 20 20 20 7b 20 22 2d | 74 76 74 77 6d 22 2c 20 |. { "-|tvtwm", |
|00000fd0| 68 61 73 4e 6f 41 72 67 | 20 7d 2c 20 7b 20 22 2d |hasNoArg| }, { "-|
|00000fe0| 70 6f 69 6e 74 73 69 7a | 65 22 2c 20 68 61 73 41 |pointsiz|e", hasA|
|00000ff0| 72 67 20 7d 2c 0a 20 20 | 20 7b 20 22 2d 69 63 6f |rg },. | { "-ico|
|00001000| 6e 69 63 22 2c 20 68 61 | 73 4e 6f 41 72 67 20 7d |nic", ha|sNoArg }|
|00001010| 2c 20 7b 20 22 2d 72 76 | 22 2c 20 68 61 73 4e 6f |, { "-rv|", hasNo|
|00001020| 41 72 67 20 7d 2c 0a 20 | 20 20 7b 20 22 2d 72 65 |Arg },. | { "-re|
|00001030| 76 65 72 73 65 22 2c 20 | 68 61 73 4e 6f 41 72 67 |verse", |hasNoArg|
|00001040| 20 7d 2c 20 7b 20 22 2b | 72 76 22 2c 20 68 61 73 | }, { "+|rv", has|
|00001050| 4e 6f 41 72 67 20 7d 2c | 0a 20 20 20 7b 20 22 2d |NoArg },|. { "-|
|00001060| 73 79 6e 63 68 72 6f 6e | 6f 75 73 22 2c 20 68 61 |synchron|ous", ha|
|00001070| 73 4e 6f 41 72 67 20 7d | 2c 0a 20 20 20 7b 20 22 |sNoArg }|,. { "|
|00001080| 2d 64 69 73 70 6c 61 79 | 22 2c 20 68 61 73 41 72 |-display|", hasAr|
|00001090| 67 20 7d 2c 20 7b 20 22 | 2d 67 65 6f 6d 65 74 72 |g }, { "|-geometr|
|000010a0| 79 22 2c 20 68 61 73 41 | 72 67 20 7d 2c 20 7b 20 |y", hasA|rg }, { |
|000010b0| 22 2d 62 67 22 2c 20 68 | 61 73 41 72 67 20 7d 2c |"-bg", h|asArg },|
|000010c0| 0a 20 20 20 7b 20 22 2d | 62 61 63 6b 67 72 6f 75 |. { "-|backgrou|
|000010d0| 6e 64 22 2c 20 68 61 73 | 41 72 67 20 7d 2c 20 7b |nd", has|Arg }, {|
|000010e0| 20 22 2d 62 64 22 2c 20 | 68 61 73 41 72 67 20 7d | "-bd", |hasArg }|
|000010f0| 2c 0a 20 20 20 7b 20 22 | 2d 62 6f 72 64 65 72 63 |,. { "|-borderc|
|00001100| 6f 6c 6f 72 22 2c 20 68 | 61 73 41 72 67 20 7d 2c |olor", h|asArg },|
|00001110| 20 7b 20 22 2d 62 77 22 | 2c 20 68 61 73 41 72 67 | { "-bw"|, hasArg|
|00001120| 20 7d 2c 0a 20 20 20 7b | 20 22 2d 62 6f 72 64 65 | },. {| "-borde|
|00001130| 72 77 69 64 74 68 22 2c | 20 68 61 73 41 72 67 20 |rwidth",| hasArg |
|00001140| 7d 2c 20 7b 20 22 2d 66 | 67 22 2c 20 68 61 73 41 |}, { "-f|g", hasA|
|00001150| 72 67 20 7d 2c 0a 20 20 | 20 7b 20 22 2d 66 6f 72 |rg },. | { "-for|
|00001160| 65 67 72 6f 75 6e 64 22 | 2c 20 68 61 73 41 72 67 |eground"|, hasArg|
|00001170| 20 7d 2c 20 7b 20 22 2d | 66 6e 22 2c 20 68 61 73 | }, { "-|fn", has|
|00001180| 41 72 67 20 7d 2c 20 7b | 20 22 2d 66 6f 6e 74 22 |Arg }, {| "-font"|
|00001190| 2c 20 68 61 73 41 72 67 | 20 7d 2c 0a 20 20 20 7b |, hasArg| },. {|
|000011a0| 20 22 2d 6e 61 6d 65 22 | 2c 20 68 61 73 41 72 67 | "-name"|, hasArg|
|000011b0| 20 7d 2c 0a 20 20 20 7b | 20 22 2d 73 65 6c 65 63 | },. {| "-selec|
|000011c0| 74 69 6f 6e 54 69 6d 65 | 6f 75 74 22 2c 20 68 61 |tionTime|out", ha|
|000011d0| 73 41 72 67 20 7d 2c 20 | 7b 20 22 2d 74 69 74 6c |sArg }, |{ "-titl|
|000011e0| 65 22 2c 20 68 61 73 41 | 72 67 20 7d 2c 0a 20 20 |e", hasA|rg },. |
|000011f0| 20 7b 20 22 2d 78 6e 6c | 6c 61 6e 67 75 61 67 65 | { "-xnl|language|
|00001200| 22 2c 20 68 61 73 41 72 | 67 20 7d 2c 20 7b 20 22 |", hasAr|g }, { "|
|00001210| 2d 78 72 6d 22 2c 20 68 | 61 73 41 72 67 20 7d 2c |-xrm", h|asArg },|
|00001220| 0a 20 20 20 7b 20 22 2d | 72 61 69 73 65 22 2c 20 |. { "-|raise", |
|00001230| 68 61 73 4e 6f 41 72 67 | 20 7d 2c 20 7b 20 22 2d |hasNoArg| }, { "-|
|00001240| 6e 6f 72 61 69 73 65 22 | 2c 20 68 61 73 4e 6f 41 |noraise"|, hasNoA|
|00001250| 72 67 20 7d 2c 0a 20 20 | 20 7b 20 22 2d 70 65 72 |rg },. | { "-per|
|00001260| 73 69 73 74 22 2c 20 68 | 61 73 4e 6f 41 72 67 20 |sist", h|asNoArg |
|00001270| 7d 0a 7d 3b 0a 0a 23 64 | 65 66 69 6e 65 20 58 31 |}.};..#d|efine X1|
|00001280| 31 5f 6e 6f 70 74 73 20 | 28 73 69 7a 65 6f 66 28 |1_nopts |(sizeof(|
|00001290| 58 31 31 5f 6f 70 74 73 | 29 20 2f 20 73 69 7a 65 |X11_opts|) / size|
|000012a0| 6f 66 28 58 31 31 5f 6f | 70 74 73 5b 30 5d 29 29 |of(X11_o|pts[0]))|
|000012b0| 0a 0a 73 74 61 74 69 63 | 20 46 49 4c 45 20 2a 58 |..static| FILE *X|
|000012c0| 31 31 5f 69 70 63 3b 0a | 0a 73 74 61 74 69 63 20 |11_ipc;.|.static |
|000012d0| 63 68 61 72 20 2a 2a 78 | 61 72 67 76 20 3d 20 28 |char **x|argv = (|
|000012e0| 63 68 61 72 20 2a 2a 29 | 4e 55 4c 4c 3b 0a 73 74 |char **)|NULL;.st|
|000012f0| 61 74 69 63 20 63 68 61 | 72 20 2a 6f 70 74 76 65 |atic cha|r *optve|
|00001300| 63 5b 32 2a 58 31 31 5f | 6e 6f 70 74 73 2b 31 5d |c[2*X11_|nopts+1]|
|00001310| 3b 0a 23 20 69 66 64 65 | 66 20 4f 53 32 0a 73 74 |;.# ifde|f OS2.st|
|00001320| 61 74 69 63 20 63 68 61 | 72 20 58 31 31 5f 63 6f |atic cha|r X11_co|
|00001330| 6d 6d 61 6e 64 5b 5d 20 | 3d 20 22 67 6e 75 70 6c |mmand[] |= "gnupl|
|00001340| 6f 74 5f 78 31 31 2e 65 | 78 65 22 3b 0a 23 20 65 |ot_x11.e|xe";.# e|
|00001350| 6c 73 65 0a 73 74 61 74 | 69 63 20 63 68 61 72 20 |lse.stat|ic char |
|00001360| 58 31 31 5f 63 6f 6d 6d | 61 6e 64 5b 5d 20 3d 20 |X11_comm|and[] = |
|00001370| 22 67 6e 75 70 6c 6f 74 | 5f 78 31 31 22 3b 0a 23 |"gnuplot|_x11";.#|
|00001380| 20 65 6e 64 69 66 20 2f | 2a 20 21 4f 53 2f 32 20 | endif /|* !OS/2 |
|00001390| 2a 2f 0a 0a 2f 2a 20 20 | 20 58 31 31 5f 61 72 67 |*/../* | X11_arg|
|000013a0| 73 20 2d 20 73 63 61 6e | 20 67 6e 75 70 6c 6f 74 |s - scan| gnuplot|
|000013b0| 20 63 6f 6d 6d 61 6e 64 | 20 6c 69 6e 65 20 66 6f | command| line fo|
|000013c0| 72 20 73 74 61 6e 64 61 | 72 64 20 58 20 54 6f 6f |r standa|rd X Too|
|000013d0| 6c 6b 69 74 20 6f 70 74 | 69 6f 6e 73 0a 20 2a 20 |lkit opt|ions. * |
|000013e0| 63 61 6c 6c 65 64 20 66 | 72 6f 6d 20 70 6c 6f 74 |called f|rom plot|
|000013f0| 2e 63 20 73 6f 20 6d 75 | 73 74 20 6e 6f 74 20 62 |.c so mu|st not b|
|00001400| 65 20 54 45 52 4d 5f 50 | 55 42 4c 49 43 20 28 77 |e TERM_P|UBLIC (w|
|00001410| 68 69 63 68 20 6d 61 79 | 20 62 65 20 73 74 61 74 |hich may| be stat|
|00001420| 69 63 29 0a 20 2a 2f 0a | 0a 69 6e 74 0a 58 31 31 |ic). */.|.int.X11|
|00001430| 5f 61 72 67 73 28 61 72 | 67 63 2c 20 61 72 67 76 |_args(ar|gc, argv|
|00001440| 29 0a 69 6e 74 20 61 72 | 67 63 3b 0a 63 68 61 72 |).int ar|gc;.char|
|00001450| 20 2a 61 72 67 76 5b 5d | 3b 0a 7b 0a 20 20 20 20 | *argv[]|;.{. |
|00001460| 69 6e 74 20 6e 78 31 31 | 20 3d 20 30 2c 20 69 20 |int nx11| = 0, i |
|00001470| 3d 20 30 2c 20 6e 3b 0a | 0a 20 20 20 20 78 61 72 |= 0, n;.|. xar|
|00001480| 67 76 20 3d 20 28 63 68 | 61 72 20 2a 2a 29 20 67 |gv = (ch|ar **) g|
|00001490| 70 5f 61 6c 6c 6f 63 20 | 28 61 72 67 63 2a 73 69 |p_alloc |(argc*si|
|000014a0| 7a 65 6f 66 28 63 68 61 | 72 20 2a 29 2c 20 22 3c |zeof(cha|r *), "<|
|000014b0| 78 61 72 67 76 3e 22 29 | 3b 0a 0a 20 20 20 20 69 |xargv>")|;.. i|
|000014c0| 66 20 28 21 78 61 72 67 | 76 29 20 7b 0a 09 66 70 |f (!xarg|v) {..fp|
|000014d0| 75 74 73 20 28 22 6e 6f | 74 20 65 6e 6f 75 67 68 |uts ("no|t enough|
|000014e0| 20 6d 65 6d 6f 72 79 20 | 74 6f 20 63 6f 70 79 20 | memory |to copy |
|000014f0| 61 72 67 76 20 2d 20 71 | 75 69 74 74 69 6e 67 5c |argv - q|uitting\|
|00001500| 6e 22 2c 20 73 74 64 65 | 72 72 29 3b 0a 09 65 78 |n", stde|rr);..ex|
|00001510| 69 74 20 28 45 58 49 54 | 5f 46 41 49 4c 55 52 45 |it (EXIT|_FAILURE|
|00001520| 29 3b 0a 20 20 20 20 7d | 0a 0a 20 20 20 20 2f 2a |);. }|.. /*|
|00001530| 20 57 65 20 6d 61 6b 65 | 20 61 20 63 6f 70 79 20 | We make| a copy |
|00001540| 6f 66 20 74 68 65 20 61 | 72 67 75 6d 65 6e 74 20 |of the a|rgument |
|00001550| 76 65 63 74 6f 72 20 62 | 65 63 61 75 73 65 0a 20 |vector b|ecause. |
|00001560| 20 20 20 20 2a 20 61 72 | 67 76 20 69 73 20 6d 6f | * ar|gv is mo|
|00001570| 64 69 66 69 65 64 20 6c | 61 74 65 72 2e 20 2a 2f |dified l|ater. */|
|00001580| 0a 20 20 20 20 6d 65 6d | 63 70 79 20 28 78 61 72 |. mem|cpy (xar|
|00001590| 67 76 2c 20 61 72 67 76 | 2c 20 61 72 67 63 2a 73 |gv, argv|, argc*s|
|000015a0| 69 7a 65 6f 66 28 63 68 | 61 72 20 2a 29 29 3b 0a |izeof(ch|ar *));.|
|000015b0| 20 20 20 20 6f 70 74 76 | 65 63 5b 69 2b 2b 5d 20 | optv|ec[i++] |
|000015c0| 3d 20 58 31 31 5f 63 6f | 6d 6d 61 6e 64 3b 0a 0a |= X11_co|mmand;..|
|000015d0| 20 20 20 20 77 68 69 6c | 65 20 28 2b 2b 61 72 67 | whil|e (++arg|
|000015e0| 76 2c 20 2b 2b 78 61 72 | 67 76 2c 20 2d 2d 61 72 |v, ++xar|gv, --ar|
|000015f0| 67 63 20 3e 20 30 29 20 | 7b 0a 09 66 6f 72 20 28 |gc > 0) |{..for (|
|00001600| 6e 20 3d 20 30 3b 20 6e | 20 3c 20 58 31 31 5f 6e |n = 0; n| < X11_n|
|00001610| 6f 70 74 73 3b 20 6e 2b | 2b 29 20 7b 0a 09 20 20 |opts; n+|+) {.. |
|00001620| 20 20 69 66 20 28 73 74 | 72 63 6d 70 28 2a 61 72 | if (st|rcmp(*ar|
|00001630| 67 76 2c 20 58 31 31 5f | 6f 70 74 73 5b 6e 5d 2e |gv, X11_|opts[n].|
|00001640| 6f 70 74 69 6f 6e 29 20 | 3d 3d 20 30 29 20 7b 0a |option) |== 0) {.|
|00001650| 09 09 6f 70 74 76 65 63 | 5b 69 2b 2b 5d 20 3d 20 |..optvec|[i++] = |
|00001660| 2a 78 61 72 67 76 3b 0a | 09 09 69 66 20 28 73 74 |*xargv;.|..if (st|
|00001670| 72 63 6d 70 28 2a 61 72 | 67 76 2c 20 22 2d 64 69 |rcmp(*ar|gv, "-di|
|00001680| 73 70 6c 61 79 22 29 20 | 3d 3d 20 30 29 0a 09 09 |splay") |== 0)...|
|00001690| 20 20 20 20 58 31 31 5f | 44 69 73 70 6c 61 79 2b | X11_|Display+|
|000016a0| 2b 3b 0a 09 09 69 66 20 | 28 58 31 31 5f 6f 70 74 |+;...if |(X11_opt|
|000016b0| 73 5b 6e 5d 2e 61 72 67 | 20 3d 3d 20 68 61 73 41 |s[n].arg| == hasA|
|000016c0| 72 67 29 20 7b 0a 09 09 | 20 20 20 20 69 66 20 28 |rg) {...| if (|
|000016d0| 2d 2d 61 72 67 63 20 3c | 3d 20 30 29 0a 09 09 09 |--argc <|= 0)....|
|000016e0| 72 65 74 75 72 6e 20 6e | 78 31 31 3b 0a 09 09 20 |return n|x11;... |
|000016f0| 20 20 20 6f 70 74 76 65 | 63 5b 69 2b 2b 5d 20 3d | optve|c[i++] =|
|00001700| 20 2a 2b 2b 78 61 72 67 | 76 2c 20 2b 2b 61 72 67 | *++xarg|v, ++arg|
|00001710| 76 3b 0a 09 09 20 20 20 | 20 6e 78 31 31 2b 2b 3b |v;... | nx11++;|
|00001720| 0a 09 09 7d 0a 09 09 6e | 78 31 31 2b 2b 3b 0a 09 |...}...n|x11++;..|
|00001730| 09 62 72 65 61 6b 3b 0a | 09 20 20 20 20 7d 0a 09 |.break;.|. }..|
|00001740| 7d 0a 09 69 66 20 28 6e | 20 3d 3d 20 58 31 31 5f |}..if (n| == X11_|
|00001750| 6e 6f 70 74 73 29 0a 09 | 20 20 20 20 62 72 65 61 |nopts)..| brea|
|00001760| 6b 3b 0a 20 20 20 20 7d | 0a 0a 20 20 20 20 72 65 |k;. }|.. re|
|00001770| 74 75 72 6e 20 28 6e 78 | 31 31 29 3b 0a 7d 0a 0a |turn (nx|11);.}..|
|00001780| 0a 73 74 61 74 69 63 20 | 75 6e 73 69 67 6e 65 64 |.static |unsigned|
|00001790| 20 69 6e 74 20 58 31 31 | 5f 70 6c 6f 74 5f 6e 75 | int X11|_plot_nu|
|000017a0| 6d 62 65 72 3b 0a 0a 54 | 45 52 4d 5f 50 55 42 4c |mber;..T|ERM_PUBL|
|000017b0| 49 43 20 76 6f 69 64 0a | 58 31 31 5f 6f 70 74 69 |IC void.|X11_opti|
|000017c0| 6f 6e 73 28 29 0a 7b 0a | 20 20 20 20 69 66 20 28 |ons().{.| if (|
|000017d0| 61 6c 6d 6f 73 74 5f 65 | 71 75 61 6c 73 28 63 5f |almost_e|quals(c_|
|000017e0| 74 6f 6b 65 6e 2c 20 22 | 72 65 73 24 65 74 22 29 |token, "|res$et")|
|000017f0| 29 20 7b 0a 09 58 31 31 | 5f 61 74 65 78 69 74 20 |) {..X11|_atexit |
|00001800| 48 41 4e 44 4c 45 52 5f | 50 41 52 41 4d 53 3b 09 |HANDLER_|PARAMS;.|
|00001810| 2f 2a 20 74 65 6c 6c 20 | 67 6e 75 70 6c 6f 74 5f |/* tell |gnuplot_|
|00001820| 78 31 31 20 74 6f 20 73 | 68 75 74 20 64 6f 77 6e |x11 to s|hut down|
|00001830| 20 2a 2f 0a 09 2b 2b 63 | 5f 74 6f 6b 65 6e 3b 0a | */..++c|_token;.|
|00001840| 20 20 20 20 7d 0a 20 20 | 20 20 69 66 20 28 21 45 | }. | if (!E|
|00001850| 4e 44 5f 4f 46 5f 43 4f | 4d 4d 41 4e 44 29 20 7b |ND_OF_CO|MMAND) {|
|00001860| 0a 09 73 74 72 75 63 74 | 20 76 61 6c 75 65 20 61 |..struct| value a|
|00001870| 3b 0a 09 58 31 31 5f 70 | 6c 6f 74 5f 6e 75 6d 62 |;..X11_p|lot_numb|
|00001880| 65 72 20 3d 20 28 69 6e | 74 29 20 72 65 61 6c 28 |er = (in|t) real(|
|00001890| 63 6f 6e 73 74 5f 65 78 | 70 72 65 73 73 28 26 61 |const_ex|press(&a|
|000018a0| 29 29 3b 0a 09 2f 2a 20 | 6c 65 74 20 67 6e 75 70 |));../* |let gnup|
|000018b0| 6c 6f 74 5f 78 31 31 20 | 63 68 65 63 6b 20 72 61 |lot_x11 |check ra|
|000018c0| 6e 67 65 20 2a 2f 0a 20 | 20 20 20 7d 0a 20 20 20 |nge */. | }. |
|000018d0| 20 73 70 72 69 6e 74 66 | 28 74 65 72 6d 5f 6f 70 | sprintf|(term_op|
|000018e0| 74 69 6f 6e 73 2c 20 22 | 25 64 22 2c 20 58 31 31 |tions, "|%d", X11|
|000018f0| 5f 70 6c 6f 74 5f 6e 75 | 6d 62 65 72 29 3b 0a 7d |_plot_nu|mber);.}|
|00001900| 0a 0a 2f 2a 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |../*----|--------|
|00001910| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001920| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001930| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001940| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001950| 2d 0a 20 2a 20 20 20 54 | 68 72 65 65 20 64 69 66 |-. * T|hree dif|
|00001960| 66 65 72 65 6e 74 20 76 | 65 72 73 69 6f 6e 73 20 |ferent v|ersions |
|00001970| 6f 66 20 74 68 65 20 72 | 65 6d 61 69 6e 64 65 72 |of the r|emainder|
|00001980| 20 6f 66 20 74 68 65 20 | 58 31 31 20 74 65 72 6d | of the |X11 term|
|00001990| 69 6e 61 6c 20 64 72 69 | 76 65 72 0a 20 2a 20 20 |inal dri|ver. * |
|000019a0| 20 61 72 65 20 70 72 6f | 76 69 64 65 64 20 74 6f | are pro|vided to|
|000019b0| 20 73 75 70 70 6f 72 74 | 20 74 68 72 65 65 20 64 | support| three d|
|000019c0| 69 66 66 65 72 65 6e 74 | 20 74 79 70 65 73 20 6f |ifferent| types o|
|000019d0| 66 20 49 50 43 20 77 69 | 74 68 20 74 68 65 0a 20 |f IPC wi|th the. |
|000019e0| 2a 20 20 20 67 6e 75 70 | 6c 6f 74 5f 78 31 31 20 |* gnup|lot_x11 |
|000019f0| 6f 75 74 62 6f 61 72 64 | 20 74 65 72 6d 69 6e 61 |outboard| termina|
|00001a00| 6c 20 64 72 69 76 65 72 | 3a 0a 20 2a 20 0a 20 2a |l driver|:. * . *|
|00001a10| 20 20 20 44 45 46 41 55 | 4c 54 5f 58 31 31 3a 20 | DEFAU|LT_X11: |
|00001a20| 20 20 20 20 20 70 6f 70 | 65 6e 28 29 20 70 69 70 | pop|en() pip|
|00001a30| 65 20 66 6f 72 20 6d 6f | 73 74 20 75 6e 2a 78 20 |e for mo|st un*x |
|00001a40| 70 6c 61 74 66 6f 72 6d | 73 0a 20 2a 0a 20 2a 20 |platform|s. *. * |
|00001a50| 20 20 43 52 49 50 50 4c | 45 44 5f 53 45 4c 45 43 | CRIPPL|ED_SELEC|
|00001a60| 54 20 3a 20 66 69 6c 65 | 20 49 50 43 20 66 6f 72 |T : file| IPC for|
|00001a70| 20 75 6e 2a 78 20 70 6c | 61 74 66 6f 72 6d 73 20 | un*x pl|atforms |
|00001a80| 77 69 74 68 20 69 6e 63 | 6f 6d 70 6c 65 74 65 20 |with inc|omplete |
|00001a90| 6f 72 20 66 61 75 6c 74 | 79 0a 20 2a 20 20 20 20 |or fault|y. * |
|00001aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ab0| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 20 | impleme|ntation |
|00001ac0| 6f 66 20 42 53 44 20 73 | 65 6c 65 63 74 28 29 0a |of BSD s|elect().|
|00001ad0| 20 2a 0a 20 2a 20 20 20 | 56 4d 53 20 3a 20 20 20 | *. * |VMS : |
|00001ae0| 20 20 20 20 20 20 20 20 | 20 20 6d 61 69 6c 62 6f | | mailbo|
|00001af0| 78 2f 73 70 61 77 6e 20 | 49 50 43 0a 20 2a 2d 2d |x/spawn |IPC. *--|
|00001b00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001b10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001b20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001b30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001b40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2a 2f 0a 0a 23 64 65 |--------|-*/..#de|
|00001b50| 66 69 6e 65 20 44 45 46 | 41 55 4c 54 5f 58 31 31 |fine DEF|AULT_X11|
|00001b60| 0a 23 69 66 20 64 65 66 | 69 6e 65 64 28 56 4d 53 |.#if def|ined(VMS|
|00001b70| 29 20 7c 7c 20 64 65 66 | 69 6e 65 64 28 43 52 49 |) || def|ined(CRI|
|00001b80| 50 50 4c 45 44 5f 53 45 | 4c 45 43 54 29 0a 23 20 |PPLED_SE|LECT).# |
|00001b90| 75 6e 64 65 66 20 44 45 | 46 41 55 4c 54 5f 58 31 |undef DE|FAULT_X1|
|00001ba0| 31 0a 23 65 6e 64 69 66 | 0a 23 69 66 20 64 65 66 |1.#endif|.#if def|
|00001bb0| 69 6e 65 64 28 56 4d 53 | 29 20 26 26 20 64 65 66 |ined(VMS|) && def|
|00001bc0| 69 6e 65 64 28 43 52 49 | 50 50 4c 45 44 5f 53 45 |ined(CRI|PPLED_SE|
|00001bd0| 4c 45 43 54 29 0a 45 72 | 72 6f 72 2e 49 6e 63 6f |LECT).Er|ror.Inco|
|00001be0| 6d 70 61 74 69 62 6c 65 | 20 6f 70 74 69 6f 6e 73 |mpatible| options|
|00001bf0| 2e 0a 23 65 6e 64 69 66 | 0a 0a 2f 2a 20 77 65 20 |..#endif|../* we |
|00001c00| 64 6f 20 6e 6f 74 20 77 | 61 6e 74 20 74 6f 20 68 |do not w|ant to h|
|00001c10| 61 76 65 20 74 6f 20 64 | 75 70 6c 69 63 61 74 65 |ave to d|uplicate|
|00001c20| 20 61 6c 6c 20 74 68 65 | 20 63 6f 64 65 2c 20 73 | all the| code, s|
|00001c30| 6f 20 77 65 0a 20 2a 20 | 64 6f 20 6d 6f 73 74 20 |o we. * |do most |
|00001c40| 6f 66 20 69 74 20 77 69 | 74 68 20 6d 61 63 72 6f |of it wi|th macro|
|00001c50| 73 2e 0a 20 2a 20 50 52 | 49 4e 54 30 28 66 6f 72 |s.. * PR|INT0(for|
|00001c60| 6d 61 74 29 2c 20 50 52 | 49 4e 54 31 28 66 6f 72 |mat), PR|INT1(for|
|00001c70| 6d 61 74 2c 20 70 31 29 | 2c 20 50 52 49 4e 54 32 |mat, p1)|, PRINT2|
|00001c80| 28 66 6f 72 6d 61 74 2c | 20 70 31 2c 20 70 32 29 |(format,| p1, p2)|
|00001c90| 20 65 74 63 0a 20 2a 20 | 61 6c 73 6f 20 20 46 4c | etc. * |also FL|
|00001ca0| 55 53 48 30 28 66 6f 72 | 6d 61 74 29 2c 20 65 74 |USH0(for|mat), et|
|00001cb0| 63 2c 20 77 68 69 63 68 | 20 64 6f 20 61 6e 20 61 |c, which| do an a|
|00001cc0| 64 64 69 74 69 6f 6e 61 | 6c 20 66 6c 75 73 68 0a |dditiona|l flush.|
|00001cd0| 20 2a 2f 0a 0a 0a 23 69 | 66 64 65 66 20 44 45 46 | */...#i|fdef DEF|
|00001ce0| 41 55 4c 54 5f 58 31 31 | 0a 2f 2a 2d 2d 2d 2d 2d |AULT_X11|./*-----|
|00001cf0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d30| 2d 2d 2d 2d 2d 2d 2d 2d | 0a 20 2a 20 20 20 44 45 |--------|. * DE|
|00001d40| 46 41 55 4c 54 5f 58 31 | 31 20 70 6f 70 65 6e 28 |FAULT_X1|1 popen(|
|00001d50| 29 20 70 69 70 65 20 49 | 50 43 0a 20 2a 2d 2d 2d |) pipe I|PC. *---|
|00001d60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001da0| 2d 2d 2d 2d 2d 2d 2d 2d | 2a 2f 0a 0a 73 74 61 74 |--------|*/..stat|
|00001db0| 69 63 20 76 6f 69 64 0a | 58 31 31 5f 61 74 65 78 |ic void.|X11_atex|
|00001dc0| 69 74 20 48 41 4e 44 4c | 45 52 5f 44 45 43 4c 0a |it HANDL|ER_DECL.|
|00001dd0| 7b 0a 20 20 20 20 69 66 | 20 28 58 31 31 5f 69 70 |{. if| (X11_ip|
|00001de0| 63 29 20 7b 0a 09 66 70 | 75 74 73 28 22 52 5c 6e |c) {..fp|uts("R\n|
|00001df0| 22 2c 20 58 31 31 5f 69 | 70 63 29 3b 0a 09 66 63 |", X11_i|pc);..fc|
|00001e00| 6c 6f 73 65 28 58 31 31 | 5f 69 70 63 29 3b 0a 09 |lose(X11|_ipc);..|
|00001e10| 2f 2a 20 64 6f 6e 74 20 | 77 61 69 74 28 29 2c 20 |/* dont |wait(), |
|00001e20| 73 69 6e 63 65 20 74 68 | 65 79 20 6d 69 67 68 74 |since th|ey might|
|00001e30| 20 62 65 20 2d 70 65 72 | 73 69 73 74 20 2a 2f 0a | be -per|sist */.|
|00001e40| 09 58 31 31 5f 69 70 63 | 20 3d 20 4e 55 4c 4c 3b |.X11_ipc| = NULL;|
|00001e50| 0a 20 20 20 20 7d 0a 7d | 0a 0a 54 45 52 4d 5f 50 |. }.}|..TERM_P|
|00001e60| 55 42 4c 49 43 20 76 6f | 69 64 0a 58 31 31 5f 69 |UBLIC vo|id.X11_i|
|00001e70| 6e 69 74 28 29 0a 7b 0a | 20 20 20 20 73 74 61 74 |nit().{.| stat|
|00001e80| 69 63 20 69 6e 74 20 62 | 65 65 6e 5f 68 65 72 65 |ic int b|een_here|
|00001e90| 20 3d 20 30 3b 0a 0a 20 | 20 20 20 69 66 20 28 21 | = 0;.. | if (!|
|00001ea0| 58 31 31 5f 69 70 63 29 | 20 7b 0a 09 2f 2a 20 66 |X11_ipc)| {../* f|
|00001eb0| 69 72 73 74 20 74 69 6d | 65 20 74 68 72 6f 75 67 |irst tim|e throug|
|00001ec0| 68 20 6f 72 20 61 66 74 | 65 72 20 61 20 72 65 73 |h or aft|er a res|
|00001ed0| 65 74 20 2a 2f 0a 23 69 | 66 20 64 65 66 69 6e 65 |et */.#i|f define|
|00001ee0| 64 28 4f 53 4b 29 20 7c | 7c 20 64 65 66 69 6e 65 |d(OSK) ||| define|
|00001ef0| 64 28 4f 53 32 29 0a 09 | 2f 2a 20 4f 53 2d 39 20 |d(OS2)..|/* OS-9 |
|00001f00| 70 6f 70 65 6e 28 29 20 | 64 6f 65 73 20 6e 6f 74 |popen() |does not|
|00001f10| 20 62 6c 6f 63 6b 20 6f | 6e 20 63 6c 6f 73 65 20 | block o|n close |
|00001f20| 66 6f 72 20 63 68 69 6c | 64 20 74 6f 20 65 6e 64 |for chil|d to end|
|00001f30| 2c 20 73 6f 0a 09 20 2a | 20 77 65 20 63 61 6e 20 |, so.. *| we can |
|00001f40| 73 61 66 65 6c 79 20 75 | 73 65 20 69 74 20 68 65 |safely u|se it he|
|00001f50| 72 65 0a 09 20 2a 2f 0a | 09 58 31 31 5f 69 70 63 |re.. */.|.X11_ipc|
|00001f60| 20 3d 20 70 6f 70 65 6e | 28 58 31 31 5f 63 6f 6d | = popen|(X11_com|
|00001f70| 6d 61 6e 64 2c 20 22 77 | 22 29 3b 0a 23 65 6c 73 |mand, "w|");.#els|
|00001f80| 65 20 2f 2a 20 21 28 4f | 53 4b 20 7c 7c 20 4f 53 |e /* !(O|SK || OS|
|00001f90| 2f 32 29 20 2a 2f 0a 09 | 69 6e 74 20 66 64 65 73 |/2) */..|int fdes|
|00001fa0| 5b 32 5d 3b 0a 0a 09 69 | 66 20 28 70 69 70 65 28 |[2];...i|f (pipe(|
|00001fb0| 66 64 65 73 29 29 20 70 | 65 72 72 6f 72 28 22 70 |fdes)) p|error("p|
|00001fc0| 69 70 65 28 29 20 66 61 | 69 6c 65 64 3a 22 29 3b |ipe() fa|iled:");|
|00001fd0| 0a 0a 09 69 66 20 28 66 | 6f 72 6b 28 29 20 3d 3d |...if (f|ork() ==|
|00001fe0| 20 30 29 20 7b 0a 09 20 | 20 20 20 2f 2a 20 63 68 | 0) {.. | /* ch|
|00001ff0| 69 6c 64 20 2a 2f 0a 09 | 20 20 20 20 63 6c 6f 73 |ild */..| clos|
|00002000| 65 28 66 64 65 73 5b 31 | 5d 29 3b 0a 09 20 20 20 |e(fdes[1|]);.. |
|00002010| 20 64 75 70 32 28 66 64 | 65 73 5b 30 5d 2c 20 30 | dup2(fd|es[0], 0|
|00002020| 29 3b 09 2f 2a 20 73 74 | 64 69 6e 20 66 72 6f 6d |);./* st|din from|
|00002030| 20 70 69 70 65 20 2a 2f | 0a 09 20 20 20 20 65 78 | pipe */|.. ex|
|00002040| 65 63 76 70 28 58 31 31 | 5f 63 6f 6d 6d 61 6e 64 |ecvp(X11|_command|
|00002050| 2c 20 6f 70 74 76 65 63 | 29 3b 0a 09 20 20 20 20 |, optvec|);.. |
|00002060| 2f 2a 20 69 66 20 77 65 | 20 67 65 74 20 68 65 72 |/* if we| get her|
|00002070| 65 2c 20 73 6f 6d 65 74 | 68 69 6e 67 20 77 65 6e |e, somet|hing wen|
|00002080| 74 20 77 72 6f 6e 67 20 | 2a 2f 0a 09 20 20 20 20 |t wrong |*/.. |
|00002090| 70 65 72 72 6f 72 28 22 | 65 78 65 63 20 66 61 69 |perror("|exec fai|
|000020a0| 6c 65 64 22 29 3b 0a 09 | 20 20 20 20 65 78 69 74 |led");..| exit|
|000020b0| 28 45 58 49 54 5f 46 41 | 49 4c 55 52 45 29 3b 0a |(EXIT_FA|ILURE);.|
|000020c0| 09 7d 0a 09 2f 2a 20 70 | 61 72 65 6e 74 20 2a 2f |.}../* p|arent */|
|000020d0| 0a 09 63 6c 6f 73 65 28 | 66 64 65 73 5b 30 5d 29 |..close(|fdes[0])|
|000020e0| 3b 09 09 2f 2a 20 72 65 | 61 64 20 65 6e 64 20 6f |;../* re|ad end o|
|000020f0| 66 20 70 69 70 65 20 2a | 2f 0a 09 58 31 31 5f 69 |f pipe *|/..X11_i|
|00002100| 70 63 20 3d 20 66 64 6f | 70 65 6e 28 66 64 65 73 |pc = fdo|pen(fdes|
|00002110| 5b 31 5d 2c 20 22 77 22 | 29 3b 0a 23 65 6e 64 69 |[1], "w"|);.#endi|
|00002120| 66 20 2f 2a 20 21 28 4f | 53 4b 20 7c 7c 20 4f 53 |f /* !(O|SK || OS|
|00002130| 2f 32 29 20 2a 2f 0a 20 | 20 20 20 7d 0a 0a 20 20 |/2) */. | }.. |
|00002140| 20 20 69 66 20 28 21 62 | 65 65 6e 5f 68 65 72 65 | if (!b|een_here|
|00002150| 29 20 7b 0a 09 61 74 65 | 78 69 74 28 58 31 31 5f |) {..ate|xit(X11_|
|00002160| 61 74 65 78 69 74 29 3b | 0a 09 62 65 65 6e 5f 68 |atexit);|..been_h|
|00002170| 65 72 65 2b 2b 3b 0a 20 | 20 20 20 7d 0a 7d 0a 0a |ere++;. | }.}..|
|00002180| 54 45 52 4d 5f 50 55 42 | 4c 49 43 20 76 6f 69 64 |TERM_PUB|LIC void|
|00002190| 0a 58 31 31 5f 72 65 73 | 65 74 28 29 0a 7b 0a 20 |.X11_res|et().{. |
|000021a0| 20 20 20 2f 2a 20 6c 65 | 61 76 65 20 74 68 65 20 | /* le|ave the |
|000021b0| 70 69 70 65 20 61 6c 6f | 6e 65 2c 20 75 6e 74 69 |pipe alo|ne, unti|
|000021c0| 6c 20 65 78 69 74 20 6f | 72 20 20 73 65 74 20 74 |l exit o|r set t|
|000021d0| 65 72 6d 20 78 31 31 20 | 72 65 73 65 74 20 2a 2f |erm x11 |reset */|
|000021e0| 0a 7d 0a 0a 23 64 65 66 | 69 6e 65 20 50 52 49 4e |.}..#def|ine PRIN|
|000021f0| 54 30 28 66 6d 74 29 20 | 20 20 20 20 20 20 20 20 |T0(fmt) | |
|00002200| 20 66 70 72 69 6e 74 66 | 28 58 31 31 5f 69 70 63 | fprintf|(X11_ipc|
|00002210| 2c 20 66 6d 74 29 0a 23 | 64 65 66 69 6e 65 20 50 |, fmt).#|define P|
|00002220| 52 49 4e 54 31 28 66 6d | 74 2c 70 31 29 20 20 20 |RINT1(fm|t,p1) |
|00002230| 20 20 20 20 66 70 72 69 | 6e 74 66 28 58 31 31 5f | fpri|ntf(X11_|
|00002240| 69 70 63 2c 20 66 6d 74 | 2c 70 31 29 0a 23 64 65 |ipc, fmt|,p1).#de|
|00002250| 66 69 6e 65 20 50 52 49 | 4e 54 32 28 66 6d 74 2c |fine PRI|NT2(fmt,|
|00002260| 70 31 2c 70 32 29 20 20 | 20 20 66 70 72 69 6e 74 |p1,p2) | fprint|
|00002270| 66 28 58 31 31 5f 69 70 | 63 2c 20 66 6d 74 2c 70 |f(X11_ip|c, fmt,p|
|00002280| 31 2c 70 32 29 0a 23 64 | 65 66 69 6e 65 20 50 52 |1,p2).#d|efine PR|
|00002290| 49 4e 54 33 28 66 6d 74 | 2c 70 31 2c 70 32 2c 70 |INT3(fmt|,p1,p2,p|
|000022a0| 33 29 20 66 70 72 69 6e | 74 66 28 58 31 31 5f 69 |3) fprin|tf(X11_i|
|000022b0| 70 63 2c 20 66 6d 74 2c | 70 31 2c 70 32 2c 70 33 |pc, fmt,|p1,p2,p3|
|000022c0| 29 0a 23 64 65 66 69 6e | 65 20 50 52 49 4e 54 34 |).#defin|e PRINT4|
|000022d0| 28 66 6d 74 2c 70 31 2c | 70 32 2c 70 33 2c 70 34 |(fmt,p1,|p2,p3,p4|
|000022e0| 29 20 66 70 72 69 6e 74 | 66 28 58 31 31 5f 69 70 |) fprint|f(X11_ip|
|000022f0| 63 2c 20 66 6d 74 2c 70 | 31 2c 70 32 2c 70 33 2c |c, fmt,p|1,p2,p3,|
|00002300| 70 34 29 0a 23 64 65 66 | 69 6e 65 20 50 52 49 4e |p4).#def|ine PRIN|
|00002310| 54 35 28 66 6d 74 2c 70 | 31 2c 70 32 2c 70 33 2c |T5(fmt,p|1,p2,p3,|
|00002320| 70 34 2c 70 35 29 20 66 | 70 72 69 6e 74 66 28 58 |p4,p5) f|printf(X|
|00002330| 31 31 5f 69 70 63 2c 20 | 66 6d 74 2c 70 31 2c 70 |11_ipc, |fmt,p1,p|
|00002340| 32 2c 70 33 2c 70 34 2c | 70 35 29 0a 0a 23 64 65 |2,p3,p4,|p5)..#de|
|00002350| 66 69 6e 65 20 46 46 4c | 55 53 48 28 29 20 20 20 |fine FFL|USH() |
|00002360| 20 20 20 20 20 20 20 20 | 20 20 66 66 6c 75 73 68 | | fflush|
|00002370| 28 58 31 31 5f 69 70 63 | 29 0a 0a 23 64 65 66 69 |(X11_ipc|)..#defi|
|00002380| 6e 65 20 42 45 46 4f 52 | 45 5f 47 52 41 50 48 49 |ne BEFOR|E_GRAPHI|
|00002390| 43 53 09 09 2f 2a 20 6e | 6f 77 74 20 2a 2f 0a 23 |CS../* n|owt */.#|
|000023a0| 64 65 66 69 6e 65 20 41 | 46 54 45 52 5f 54 45 58 |define A|FTER_TEX|
|000023b0| 54 09 09 2f 2a 20 6e 6f | 77 74 20 2a 2f 0a 0a 0a |T../* no|wt */...|
|000023c0| 23 65 6c 69 66 20 64 65 | 66 69 6e 65 64 28 43 52 |#elif de|fined(CR|
|000023d0| 49 50 50 4c 45 44 5f 53 | 45 4c 45 43 54 29 0a 0a |IPPLED_S|ELECT)..|
|000023e0| 2f 2a 20 50 4c 45 41 53 | 45 20 43 41 4e 20 53 4f |/* PLEAS|E CAN SO|
|000023f0| 4d 45 4f 4e 45 20 43 48 | 45 43 4b 20 54 48 41 54 |MEONE CH|ECK THAT|
|00002400| 20 54 48 49 53 20 53 54 | 49 4c 4c 20 57 4f 52 4b | THIS ST|ILL WORK|
|00002410| 53 20 21 21 21 20 2a 2f | 0a 0a 2f 2a 2d 2d 2d 2d |S !!! */|../*----|
|00002420| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002430| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002440| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002450| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002460| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0a 20 2a 20 20 20 43 |--------|-. * C|
|00002470| 52 49 50 50 4c 45 44 5f | 53 45 4c 45 43 54 20 66 |RIPPLED_|SELECT f|
|00002480| 69 6c 65 20 49 50 43 0a | 20 2a 2d 2d 2d 2d 2d 2d |ile IPC.| *------|
|00002490| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000024a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000024b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000024c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000024d0| 2d 2d 2d 2d 2d 2a 2f 0a | 0a 73 74 61 74 69 63 20 |-----*/.|.static |
|000024e0| 63 68 61 72 20 58 31 31 | 5f 74 6d 70 5b 33 32 5d |char X11|_tmp[32]|
|000024f0| 2c 20 58 31 31 5f 74 6d | 70 30 5b 33 32 5d 2c 20 |, X11_tm|p0[32], |
|00002500| 58 31 31 5f 73 68 75 74 | 64 6f 77 6e 5b 33 32 5d |X11_shut|down[32]|
|00002510| 3b 0a 73 74 61 74 69 63 | 20 69 6e 74 20 58 31 31 |;.static| int X11|
|00002520| 5f 70 69 64 3b 0a 0a 54 | 45 52 4d 5f 50 55 42 4c |_pid;..T|ERM_PUBL|
|00002530| 49 43 20 76 6f 69 64 0a | 58 31 31 5f 69 6e 69 74 |IC void.|X11_init|
|00002540| 28 29 0a 7b 0a 20 20 20 | 20 69 66 20 28 21 28 58 |().{. | if (!(X|
|00002550| 31 31 5f 70 69 64 20 3d | 20 66 6f 72 6b 28 29 29 |11_pid =| fork())|
|00002560| 29 20 7b 0a 09 65 78 65 | 63 76 70 28 58 31 31 5f |) {..exe|cvp(X11_|
|00002570| 63 6f 6d 6d 61 6e 64 2c | 20 6f 70 74 76 65 63 29 |command,| optvec)|
|00002580| 3b 0a 09 5f 65 78 69 74 | 28 31 29 3b 0a 20 20 20 |;.._exit|(1);. |
|00002590| 20 7d 0a 20 20 20 20 73 | 70 72 69 6e 74 66 28 58 | }. s|printf(X|
|000025a0| 31 31 5f 74 6d 70 2c 20 | 22 2f 74 6d 70 2f 47 6e |11_tmp, |"/tmp/Gn|
|000025b0| 75 70 6c 6f 74 5f 25 64 | 22 2c 20 58 31 31 5f 70 |uplot_%d|", X11_p|
|000025c0| 69 64 29 3b 0a 20 20 20 | 20 73 70 72 69 6e 74 66 |id);. | sprintf|
|000025d0| 28 58 31 31 5f 74 6d 70 | 30 2c 20 22 25 73 2d 22 |(X11_tmp|0, "%s-"|
|000025e0| 2c 20 58 31 31 5f 74 6d | 70 29 3b 0a 20 20 20 20 |, X11_tm|p);. |
|000025f0| 73 70 72 69 6e 74 66 28 | 58 31 31 5f 73 68 75 74 |sprintf(|X11_shut|
|00002600| 64 6f 77 6e 2c 20 22 65 | 63 68 6f 20 52 20 3e 25 |down, "e|cho R >%|
|00002610| 73 22 2c 20 58 31 31 5f | 74 6d 70 29 3b 0a 7d 0a |s", X11_|tmp);.}.|
|00002620| 0a 54 45 52 4d 5f 50 55 | 42 4c 49 43 20 76 6f 69 |.TERM_PU|BLIC voi|
|00002630| 64 0a 58 31 31 5f 72 65 | 73 65 74 28 29 0a 7b 0a |d.X11_re|set().{.|
|00002640| 20 20 20 20 73 79 73 74 | 65 6d 28 58 31 31 5f 73 | syst|em(X11_s|
|00002650| 68 75 74 64 6f 77 6e 29 | 3b 0a 7d 0a 0a 23 64 65 |hutdown)|;.}..#de|
|00002660| 66 69 6e 65 20 42 45 46 | 4f 52 45 5f 47 52 41 50 |fine BEF|ORE_GRAP|
|00002670| 48 49 43 53 20 5c 0a 20 | 69 66 20 28 21 28 58 31 |HICS \. |if (!(X1|
|00002680| 31 5f 69 70 63 20 3d 20 | 66 6f 70 65 6e 28 58 31 |1_ipc = |fopen(X1|
|00002690| 31 5f 74 6d 70 30 2c 20 | 22 77 22 29 29 29 20 7b |1_tmp0, |"w"))) {|
|000026a0| 20 5c 0a 20 20 20 70 65 | 72 72 6f 72 28 58 31 31 | \. pe|rror(X11|
|000026b0| 5f 74 6d 70 30 29 3b 20 | 73 79 73 74 65 6d 28 58 |_tmp0); |system(X|
|000026c0| 31 31 5f 73 68 75 74 64 | 6f 77 6e 29 3b 20 65 78 |11_shutd|own); ex|
|000026d0| 69 74 28 31 29 3b 20 5c | 0a 20 7d 0a 0a 23 64 65 |it(1); \|. }..#de|
|000026e0| 66 69 6e 65 20 41 46 54 | 45 52 5f 54 45 58 54 20 |fine AFT|ER_TEXT |
|000026f0| 5c 0a 20 7b 20 66 63 6c | 6f 73 65 28 58 31 31 5f |\. { fcl|ose(X11_|
|00002700| 69 70 63 29 3b 20 72 65 | 6e 61 6d 65 28 58 31 31 |ipc); re|name(X11|
|00002710| 5f 74 6d 70 30 2c 20 58 | 31 31 5f 74 6d 70 29 3b |_tmp0, X|11_tmp);|
|00002720| 20 7d 0a 0a 23 64 65 66 | 69 6e 65 20 50 52 49 4e | }..#def|ine PRIN|
|00002730| 54 30 28 66 6d 74 29 20 | 20 20 20 20 20 20 20 20 |T0(fmt) | |
|00002740| 20 66 70 72 69 6e 74 66 | 28 58 31 31 5f 69 70 63 | fprintf|(X11_ipc|
|00002750| 2c 20 66 6d 74 29 0a 23 | 64 65 66 69 6e 65 20 50 |, fmt).#|define P|
|00002760| 52 49 4e 54 31 28 66 6d | 74 2c 70 31 29 20 20 20 |RINT1(fm|t,p1) |
|00002770| 20 20 20 20 66 70 72 69 | 6e 74 66 28 58 31 31 5f | fpri|ntf(X11_|
|00002780| 69 70 63 2c 20 66 6d 74 | 2c 70 31 29 0a 23 64 65 |ipc, fmt|,p1).#de|
|00002790| 66 69 6e 65 20 50 52 49 | 4e 54 32 28 66 6d 74 2c |fine PRI|NT2(fmt,|
|000027a0| 70 31 2c 70 32 29 20 20 | 20 20 66 70 72 69 6e 74 |p1,p2) | fprint|
|000027b0| 66 28 58 31 31 5f 69 70 | 63 2c 20 66 6d 74 2c 70 |f(X11_ip|c, fmt,p|
|000027c0| 31 2c 70 32 29 0a 23 64 | 65 66 69 6e 65 20 50 52 |1,p2).#d|efine PR|
|000027d0| 49 4e 54 33 28 66 6d 74 | 2c 70 31 2c 70 32 2c 70 |INT3(fmt|,p1,p2,p|
|000027e0| 33 29 20 66 70 72 69 6e | 74 66 28 58 31 31 5f 69 |3) fprin|tf(X11_i|
|000027f0| 70 63 2c 20 66 6d 74 2c | 70 31 2c 70 32 2c 70 33 |pc, fmt,|p1,p2,p3|
|00002800| 29 0a 23 64 65 66 69 6e | 65 20 50 52 49 4e 54 34 |).#defin|e PRINT4|
|00002810| 28 66 6d 74 2c 70 31 2c | 70 32 2c 70 33 2c 70 34 |(fmt,p1,|p2,p3,p4|
|00002820| 29 20 66 70 72 69 6e 74 | 66 28 58 31 31 5f 69 70 |) fprint|f(X11_ip|
|00002830| 63 2c 20 66 6d 74 2c 70 | 31 2c 70 32 2c 70 33 2c |c, fmt,p|1,p2,p3,|
|00002840| 70 34 29 0a 23 64 65 66 | 69 6e 65 20 50 52 49 4e |p4).#def|ine PRIN|
|00002850| 54 35 28 66 6d 74 2c 70 | 31 2c 70 32 2c 70 33 2c |T5(fmt,p|1,p2,p3,|
|00002860| 70 34 2c 70 35 29 20 66 | 70 72 69 6e 74 66 28 58 |p4,p5) f|printf(X|
|00002870| 31 31 5f 69 70 63 2c 20 | 66 6d 74 2c 70 31 2c 70 |11_ipc, |fmt,p1,p|
|00002880| 32 2c 70 33 2c 70 34 2c | 70 35 29 0a 23 64 65 66 |2,p3,p4,|p5).#def|
|00002890| 69 6e 65 20 46 46 4c 55 | 53 48 28 29 20 20 20 20 |ine FFLU|SH() |
|000028a0| 20 20 20 20 20 20 20 20 | 20 66 66 6c 75 73 68 28 | | fflush(|
|000028b0| 58 31 31 5f 69 70 63 29 | 0a 0a 73 74 61 74 69 63 |X11_ipc)|..static|
|000028c0| 20 76 6f 69 64 0a 58 31 | 31 5f 61 74 65 78 69 74 | void.X1|1_atexit|
|000028d0| 20 48 41 4e 44 4c 45 52 | 5f 44 45 43 4c 20 7b 20 | HANDLER|_DECL { |
|000028e0| 2f 2a 20 57 48 41 54 20 | 53 48 4f 55 4c 44 20 49 |/* WHAT |SHOULD I|
|000028f0| 20 44 4f 20 3f 20 2a 2f | 0a 7d 0a 0a 23 65 6c 69 | DO ? */|.}..#eli|
|00002900| 66 20 64 65 66 69 6e 65 | 64 28 56 4d 53 29 0a 2f |f define|d(VMS)./|
|00002910| 2a 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |*-------|--------|
|00002920| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002930| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002940| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002950| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 20 |--------|------. |
|00002960| 2a 20 20 20 56 4d 53 20 | 6d 61 69 6c 62 6f 78 2f |* VMS |mailbox/|
|00002970| 73 70 61 77 6e 20 49 50 | 43 20 2d 20 59 65 68 61 |spawn IP|C - Yeha|
|00002980| 76 69 20 42 6f 75 72 76 | 69 6e 65 20 2d 20 59 45 |vi Bourv|ine - YE|
|00002990| 48 41 56 49 40 56 4d 53 | 2e 48 55 4a 49 2e 41 43 |HAVI@VMS|.HUJI.AC|
|000029a0| 2e 49 4c 0a 20 2a 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.IL. *--|--------|
|000029b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000029c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000029d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000029e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000029f0| 2d 2a 2f 0a 23 69 6e 63 | 6c 75 64 65 20 3c 69 6f |-*/.#inc|lude <io|
|00002a00| 64 65 66 2e 68 3e 0a 23 | 69 6e 63 6c 75 64 65 20 |def.h>.#|include |
|00002a10| 3c 64 65 73 63 72 69 70 | 2e 68 3e 0a 23 69 6e 63 |<descrip|.h>.#inc|
|00002a20| 6c 75 64 65 20 3c 64 76 | 69 64 65 66 2e 68 3e 0a |lude <dv|idef.h>.|
|00002a30| 23 69 66 64 65 66 20 5f | 5f 44 45 43 43 0a 23 69 |#ifdef _|_DECC.#i|
|00002a40| 6e 63 6c 75 64 65 20 3c | 6c 69 62 24 72 6f 75 74 |nclude <|lib$rout|
|00002a50| 69 6e 65 73 2e 68 3e 0a | 23 69 6e 63 6c 75 64 65 |ines.h>.|#include|
|00002a60| 20 3c 73 74 61 72 6c 65 | 74 2e 68 3e 0a 23 65 6e | <starle|t.h>.#en|
|00002a70| 64 69 66 0a 23 69 66 64 | 65 66 20 5f 5f 47 4e 55 |dif.#ifd|ef __GNU|
|00002a80| 43 5f 5f 0a 23 69 6e 63 | 6c 75 64 65 20 3c 65 72 |C__.#inc|lude <er|
|00002a90| 72 6e 6f 2e 68 3e 0a 23 | 65 6c 73 65 0a 69 6e 74 |rno.h>.#|else.int|
|00002aa0| 20 76 61 78 63 24 65 72 | 72 6e 6f 3b 0a 23 65 6e | vaxc$er|rno;.#en|
|00002ab0| 64 69 66 0a 0a 23 64 65 | 66 69 6e 65 20 53 53 24 |dif..#de|fine SS$|
|00002ac0| 5f 4e 4f 52 4d 41 4c 20 | 31 09 09 2f 2a 20 6f 72 |_NORMAL |1../* or|
|00002ad0| 20 69 6e 63 6c 75 64 65 | 20 3c 73 73 64 65 66 2e | include| <ssdef.|
|00002ae0| 68 3e 20 66 6f 72 20 61 | 6c 6c 20 53 53 24 5f 20 |h> for a|ll SS$_ |
|00002af0| 64 65 66 27 73 20 2a 2f | 0a 0a 23 64 65 66 69 6e |def's */|..#defin|
|00002b00| 65 20 4d 42 58 4d 58 4d | 53 47 20 31 32 38 09 09 |e MBXMXM|SG 128..|
|00002b10| 2f 2a 20 44 45 46 4d 42 | 58 4d 58 4d 53 47 20 69 |/* DEFMB|XMXMSG i|
|00002b20| 73 20 73 65 74 20 62 79 | 20 53 59 53 47 45 4e 20 |s set by| SYSGEN |
|00002b30| 2a 2f 0a 0a 73 74 61 74 | 69 63 20 73 68 6f 72 74 |*/..stat|ic short|
|00002b40| 20 58 31 31 5f 63 68 61 | 6e 6e 65 6c 3b 0a 0a 73 | X11_cha|nnel;..s|
|00002b50| 74 72 75 63 74 20 69 6f | 73 62 20 7b 0a 20 20 20 |truct io|sb {. |
|00002b60| 20 75 6e 73 69 67 6e 65 | 64 20 73 68 6f 72 74 20 | unsigne|d short |
|00002b70| 73 74 61 74 3b 0a 20 20 | 20 20 75 6e 73 69 67 6e |stat;. | unsign|
|00002b80| 65 64 20 73 68 6f 72 74 | 20 63 6f 75 6e 74 3b 0a |ed short| count;.|
|00002b90| 20 20 20 20 75 6e 73 69 | 67 6e 65 64 20 6c 6f 6e | unsi|gned lon|
|00002ba0| 67 20 69 6e 66 6f 3b 0a | 7d 3b 0a 0a 0a 54 45 52 |g info;.|};...TER|
|00002bb0| 4d 5f 50 55 42 4c 49 43 | 20 76 6f 69 64 0a 58 31 |M_PUBLIC| void.X1|
|00002bc0| 31 5f 69 6e 69 74 28 29 | 0a 7b 0a 0a 20 20 20 20 |1_init()|.{.. |
|00002bd0| 73 74 72 75 63 74 20 69 | 6f 73 62 20 69 6f 73 62 |struct i|osb iosb|
|00002be0| 3b 0a 0a 20 20 20 20 73 | 74 61 74 69 63 20 63 68 |;.. s|tatic ch|
|00002bf0| 61 72 20 64 65 76 6e 61 | 6d 5f 73 74 72 69 6e 67 |ar devna|m_string|
|00002c00| 5b 36 34 5d 3b 0a 20 20 | 20 20 73 74 61 74 69 63 |[64];. | static|
|00002c10| 20 24 44 45 53 43 52 49 | 50 54 4f 52 28 64 65 76 | $DESCRI|PTOR(dev|
|00002c20| 6e 61 6d 2c 20 64 65 76 | 6e 61 6d 5f 73 74 72 69 |nam, dev|nam_stri|
|00002c30| 6e 67 29 3b 0a 0a 20 20 | 20 20 73 74 72 75 63 74 |ng);.. | struct|
|00002c40| 20 7b 0a 09 73 68 6f 72 | 74 20 69 6e 74 20 62 75 | {..shor|t int bu|
|00002c50| 66 5f 6c 65 6e 3b 0a 09 | 73 68 6f 72 74 20 69 6e |f_len;..|short in|
|00002c60| 74 20 69 74 65 6d 3b 0a | 09 63 68 61 72 20 2a 62 |t item;.|.char *b|
|00002c70| 75 66 5f 61 64 64 72 3b | 0a 09 75 6e 73 69 67 6e |uf_addr;|..unsign|
|00002c80| 65 64 20 73 68 6f 72 74 | 20 69 6e 74 20 2a 72 65 |ed short| int *re|
|00002c90| 74 5f 6c 65 6e 3b 0a 09 | 69 6e 74 20 65 6e 64 3b |t_len;..|int end;|
|00002ca0| 0a 20 20 20 20 7d 20 69 | 74 65 6d 5f 6c 69 73 74 |. } i|tem_list|
|00002cb0| 20 3d 20 7b 0a 09 64 65 | 76 6e 61 6d 2e 64 73 63 | = {..de|vnam.dsc|
|00002cc0| 24 77 5f 6c 65 6e 67 74 | 68 2c 20 44 56 49 24 5f |$w_lengt|h, DVI$_|
|00002cd0| 44 45 56 4e 41 4d 2c 0a | 09 20 20 20 20 64 65 76 |DEVNAM,.|. dev|
|00002ce0| 6e 61 6d 2e 64 73 63 24 | 61 5f 70 6f 69 6e 74 65 |nam.dsc$|a_pointe|
|00002cf0| 72 2c 0a 09 20 20 20 20 | 26 64 65 76 6e 61 6d 2e |r,.. |&devnam.|
|00002d00| 64 73 63 24 77 5f 6c 65 | 6e 67 74 68 2c 20 30 0a |dsc$w_le|ngth, 0.|
|00002d10| 20 20 20 20 7d 3b 0a 23 | 64 65 66 69 6e 65 20 43 | };.#|define C|
|00002d20| 4d 44 4c 45 4e 20 31 30 | 32 34 0a 20 20 20 20 63 |MDLEN 10|24. c|
|00002d30| 68 61 72 20 63 6d 64 6c | 69 6e 65 5b 43 4d 44 4c |har cmdl|ine[CMDL|
|00002d40| 45 4e 5d 2c 20 2a 63 6d | 64 70 3b 0a 20 20 20 20 |EN], *cm|dp;. |
|00002d50| 69 6e 74 20 6f 70 74 69 | 6e 64 65 78 3b 0a 0a 20 |int opti|ndex;.. |
|00002d60| 20 20 20 69 66 20 28 21 | 58 31 31 5f 63 68 61 6e | if (!|X11_chan|
|00002d70| 6e 65 6c 29 20 7b 0a 09 | 69 6e 74 20 6f 6e 65 20 |nel) {..|int one |
|00002d80| 3d 20 31 3b 0a 0a 09 2f | 2a 20 43 72 65 61 74 65 |= 1;.../|* Create|
|00002d90| 20 61 20 64 65 73 63 72 | 69 70 74 6f 72 20 66 6f | a descr|iptor fo|
|00002da0| 72 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 6c 69 |r the co|mmand li|
|00002db0| 6e 65 20 74 68 61 74 20 | 73 74 61 72 74 73 0a 09 |ne that |starts..|
|00002dc0| 20 20 20 47 4e 55 50 4c | 4f 54 5f 58 31 31 2e 20 | GNUPL|OT_X11. |
|00002dd0| 24 44 45 53 43 52 49 50 | 20 64 6f 65 73 6e 27 74 |$DESCRIP| doesn't|
|00002de0| 20 77 6f 72 6b 20 69 6e | 20 74 68 69 73 20 63 6f | work in| this co|
|00002df0| 6e 74 65 78 74 2e 2e 2e | 20 2a 2f 0a 0a 09 2f 2a |ntext...| */.../*|
|00002e00| 20 46 49 58 4d 45 21 0a | 09 20 2a 20 54 68 69 73 | FIXME!.|. * This|
|00002e10| 20 64 6f 65 73 20 6e 6f | 74 20 77 6f 72 6b 20 61 | does no|t work a|
|00002e20| 6e 79 6d 6f 72 65 20 73 | 69 6e 63 65 20 58 31 31 |nymore s|ince X11|
|00002e30| 20 6f 70 74 69 6f 6e 20 | 70 61 73 73 69 6e 67 20 | option |passing |
|00002e40| 68 61 73 20 62 65 65 6e | 0a 09 20 2a 20 63 68 61 |has been|.. * cha|
|00002e50| 6e 67 65 64 20 74 6f 20 | 75 73 65 20 65 78 65 63 |nged to |use exec|
|00002e60| 76 70 28 29 20 69 6e 20 | 74 68 65 20 44 45 46 41 |vp() in |the DEFA|
|00002e70| 55 4c 54 5f 58 31 31 20 | 63 61 73 65 0a 09 20 2a |ULT_X11 |case.. *|
|00002e80| 2f 0a 09 73 74 72 75 63 | 74 20 64 73 63 24 64 65 |/..struc|t dsc$de|
|00002e90| 73 63 72 69 70 74 6f 72 | 5f 73 20 70 67 6d 64 73 |scriptor|_s pgmds|
|00002ea0| 63 20 3d 0a 09 7b 30 2c | 20 44 53 43 24 4b 5f 44 |c =..{0,| DSC$K_D|
|00002eb0| 54 59 50 45 5f 54 2c 0a | 09 20 44 53 43 24 4b 5f |TYPE_T,.|. DSC$K_|
|00002ec0| 43 4c 41 53 53 5f 53 2c | 20 30 7d 3b 0a 20 20 20 |CLASS_S,| 0};. |
|00002ed0| 20 20 20 20 20 6f 70 74 | 69 6e 64 65 78 20 3d 20 | opt|index = |
|00002ee0| 30 3b 0a 20 20 20 20 20 | 20 20 20 73 74 72 63 70 |0;. | strcp|
|00002ef0| 79 20 28 63 6d 64 6c 69 | 6e 65 2c 20 6f 70 74 76 |y (cmdli|ne, optv|
|00002f00| 65 63 5b 6f 70 74 69 6e | 64 65 78 5d 29 3b 0a 20 |ec[optin|dex]);. |
|00002f10| 20 20 20 20 20 20 20 63 | 6d 64 70 20 3d 20 63 6d | c|mdp = cm|
|00002f20| 64 6c 69 6e 65 20 2b 20 | 73 74 72 6c 65 6e 20 28 |dline + |strlen (|
|00002f30| 6f 70 74 76 65 63 5b 6f | 70 74 69 6e 64 65 78 5d |optvec[o|ptindex]|
|00002f40| 29 3b 0a 20 20 20 20 20 | 20 20 20 77 68 69 6c 65 |);. | while|
|00002f50| 20 28 6f 70 74 76 65 63 | 5b 2b 2b 6f 70 74 69 6e | (optvec|[++optin|
|00002f60| 64 65 78 5d 20 21 3d 20 | 4e 55 4c 4c 29 20 7b 0a |dex] != |NULL) {.|
|00002f70| 20 20 20 20 20 20 20 20 | 20 20 2a 63 6d 64 70 2b | | *cmdp+|
|00002f80| 2b 20 3d 20 27 20 27 3b | 0a 20 20 20 20 20 20 20 |+ = ' ';|. |
|00002f90| 20 20 20 2a 63 6d 64 70 | 2b 2b 20 3d 20 27 5c 22 | *cmdp|++ = '\"|
|00002fa0| 27 3b 0a 20 20 20 20 20 | 20 20 20 20 20 73 74 72 |';. | str|
|00002fb0| 63 70 79 20 28 63 6d 64 | 70 2c 20 6f 70 74 76 65 |cpy (cmd|p, optve|
|00002fc0| 63 5b 6f 70 74 69 6e 64 | 65 78 5d 29 3b 0a 20 20 |c[optind|ex]);. |
|00002fd0| 20 20 20 20 20 20 20 20 | 63 6d 64 70 20 2b 3d 20 | |cmdp += |
|00002fe0| 73 74 72 6c 65 6e 20 28 | 6f 70 74 76 65 63 5b 6f |strlen (|optvec[o|
|00002ff0| 70 74 69 6e 64 65 78 5d | 29 3b 0a 20 20 20 20 20 |ptindex]|);. |
|00003000| 20 20 20 20 20 2a 63 6d | 64 70 2b 2b 20 3d 20 27 | *cm|dp++ = '|
|00003010| 5c 22 27 3b 0a 20 20 20 | 20 20 20 20 20 7d 0a 09 |\"';. | }..|
|00003020| 70 67 6d 64 73 63 2e 64 | 73 63 24 77 5f 6c 65 6e |pgmdsc.d|sc$w_len|
|00003030| 67 74 68 20 3d 20 63 6d | 64 70 2d 63 6d 64 6c 69 |gth = cm|dp-cmdli|
|00003040| 6e 65 3b 0a 09 70 67 6d | 64 73 63 2e 64 73 63 24 |ne;..pgm|dsc.dsc$|
|00003050| 61 5f 70 6f 69 6e 74 65 | 72 20 3d 20 63 6d 64 6c |a_pointe|r = cmdl|
|00003060| 69 6e 65 3b 0a 0a 09 2f | 2a 20 43 72 65 61 74 65 |ine;.../|* Create|
|00003070| 20 61 20 6d 61 69 6c 62 | 6f 78 20 77 68 69 63 68 | a mailb|ox which|
|00003080| 20 77 69 6c 6c 20 62 65 | 20 75 73 65 64 20 61 73 | will be| used as|
|00003090| 20 61 20 70 69 70 65 20 | 66 6f 72 20 63 6f 6d 6d | a pipe |for comm|
|000030a0| 61 6e 64 73 20 74 6f 20 | 74 68 65 20 0a 09 20 2a |ands to |the .. *|
|000030b0| 20 73 75 62 70 72 6f 63 | 65 73 73 2e 20 20 57 68 | subproc|ess. Wh|
|000030c0| 61 74 20 77 65 27 6c 6c | 20 77 72 69 74 65 20 74 |at we'll| write t|
|000030d0| 6f 20 69 74 20 77 69 6c | 6c 20 62 65 20 72 65 61 |o it wil|l be rea|
|000030e0| 64 20 62 79 20 74 68 65 | 20 73 75 62 70 72 6f 63 |d by the| subproc|
|000030f0| 65 73 73 0a 09 20 2a 20 | 61 73 20 69 74 73 20 53 |ess.. * |as its S|
|00003100| 54 44 49 4e 2e 20 20 55 | 73 65 20 61 6e 20 75 6e |TDIN. U|se an un|
|00003110| 6e 61 6d 65 64 20 6d 61 | 69 6c 62 6f 78 20 61 6e |named ma|ilbox an|
|00003120| 64 20 72 65 66 65 72 20 | 74 6f 20 69 74 20 62 79 |d refer |to it by|
|00003130| 20 69 74 73 20 64 65 76 | 69 63 65 0a 09 20 2a 20 | its dev|ice.. * |
|00003140| 6e 75 6d 62 65 72 20 2a | 2f 0a 0a 09 76 61 78 63 |number *|/...vaxc|
|00003150| 24 65 72 72 6e 6f 20 3d | 20 73 79 73 24 63 72 65 |$errno =| sys$cre|
|00003160| 6d 62 78 28 30 2c 20 26 | 58 31 31 5f 63 68 61 6e |mbx(0, &|X11_chan|
|00003170| 6e 65 6c 2c 20 4d 42 58 | 4d 58 4d 53 47 2c 20 4d |nel, MBX|MXMSG, M|
|00003180| 42 58 4d 58 4d 53 47 2c | 20 30 2c 20 30 2c 20 30 |BXMXMSG,| 0, 0, 0|
|00003190| 2c 20 30 29 3b 0a 09 69 | 66 20 28 28 76 61 78 63 |, 0);..i|f ((vaxc|
|000031a0| 24 65 72 72 6e 6f 20 26 | 20 53 53 24 5f 4e 4f 52 |$errno &| SS$_NOR|
|000031b0| 4d 41 4c 29 20 21 3d 20 | 53 53 24 5f 4e 4f 52 4d |MAL) != |SS$_NORM|
|000031c0| 41 4c 29 20 7b 0a 09 20 | 20 20 20 70 72 69 6e 74 |AL) {.. | print|
|000031d0| 66 28 22 53 59 53 24 43 | 72 65 4d 62 78 20 66 61 |f("SYS$C|reMbx fa|
|000031e0| 69 6c 65 64 20 77 69 74 | 68 20 73 74 61 74 75 73 |iled wit|h status|
|000031f0| 3d 25 64 5c 72 5c 6e 22 | 2c 20 76 61 78 63 24 65 |=%d\r\n"|, vaxc$e|
|00003200| 72 72 6e 6f 29 3b 0a 09 | 20 20 20 20 6f 73 5f 65 |rrno);..| os_e|
|00003210| 72 72 6f 72 28 22 73 79 | 73 24 63 72 65 6d 62 78 |rror("sy|s$crembx|
|00003220| 20 66 61 69 6c 65 64 22 | 2c 20 4e 4f 5f 43 41 52 | failed"|, NO_CAR|
|00003230| 45 54 29 3b 0a 09 7d 0a | 09 76 61 78 63 24 65 72 |ET);..}.|.vaxc$er|
|00003240| 72 6e 6f 20 3d 20 73 79 | 73 24 67 65 74 64 76 69 |rno = sy|s$getdvi|
|00003250| 77 28 30 2c 20 58 31 31 | 5f 63 68 61 6e 6e 65 6c |w(0, X11|_channel|
|00003260| 2c 20 30 2c 20 26 69 74 | 65 6d 5f 6c 69 73 74 2c |, 0, &it|em_list,|
|00003270| 20 26 69 6f 73 62 2c 20 | 30 2c 20 30 2c 20 30 29 | &iosb, |0, 0, 0)|
|00003280| 3b 0a 09 69 66 20 28 28 | 76 61 78 63 24 65 72 72 |;..if ((|vaxc$err|
|00003290| 6e 6f 20 26 20 53 53 24 | 5f 4e 4f 52 4d 41 4c 29 |no & SS$|_NORMAL)|
|000032a0| 20 3d 3d 20 53 53 24 5f | 4e 4f 52 4d 41 4c 29 0a | == SS$_|NORMAL).|
|000032b0| 09 20 20 20 20 76 61 78 | 63 24 65 72 72 6e 6f 20 |. vax|c$errno |
|000032c0| 3d 20 69 6f 73 62 2e 73 | 74 61 74 3b 0a 09 69 66 |= iosb.s|tat;..if|
|000032d0| 20 28 28 76 61 78 63 24 | 65 72 72 6e 6f 20 26 20 | ((vaxc$|errno & |
|000032e0| 53 53 24 5f 4e 4f 52 4d | 41 4c 29 20 21 3d 20 53 |SS$_NORM|AL) != S|
|000032f0| 53 24 5f 4e 4f 52 4d 41 | 4c 29 20 7b 0a 09 20 20 |S$_NORMA|L) {.. |
|00003300| 20 20 70 72 69 6e 74 66 | 28 22 53 59 53 24 47 65 | printf|("SYS$Ge|
|00003310| 74 64 76 69 77 20 66 61 | 69 6c 65 64 20 77 69 74 |tdviw fa|iled wit|
|00003320| 68 20 73 74 61 74 75 73 | 3d 25 64 5c 72 5c 6e 22 |h status|=%d\r\n"|
|00003330| 2c 20 76 61 78 63 24 65 | 72 72 6e 6f 29 3b 0a 09 |, vaxc$e|rrno);..|
|00003340| 20 20 20 20 73 79 73 24 | 64 61 73 73 67 6e 28 58 | sys$|dassgn(X|
|00003350| 31 31 5f 63 68 61 6e 6e | 65 6c 29 3b 0a 09 20 20 |11_chann|el);.. |
|00003360| 20 20 58 31 31 5f 63 68 | 61 6e 6e 65 6c 20 3d 20 | X11_ch|annel = |
|00003370| 30 3b 0a 09 20 20 20 20 | 6f 73 5f 65 72 72 6f 72 |0;.. |os_error|
|00003380| 28 22 73 79 73 24 67 65 | 74 64 76 69 77 20 66 61 |("sys$ge|tdviw fa|
|00003390| 69 6c 65 64 22 2c 20 4e | 4f 5f 43 41 52 45 54 29 |iled", N|O_CARET)|
|000033a0| 3b 0a 09 7d 0a 09 2f 2a | 20 43 72 65 61 74 65 20 |;..}../*| Create |
|000033b0| 61 20 73 75 62 70 72 6f | 63 65 73 73 20 77 68 6f |a subpro|cess who|
|000033c0| 73 65 20 69 6e 70 75 74 | 20 69 73 20 74 68 69 73 |se input| is this|
|000033d0| 20 6d 61 69 6c 62 6f 78 | 2e 20 2a 2f 0a 09 76 61 | mailbox|. */..va|
|000033e0| 78 63 24 65 72 72 6e 6f | 20 3d 20 6c 69 62 24 73 |xc$errno| = lib$s|
|000033f0| 70 61 77 6e 28 26 70 67 | 6d 64 73 63 2c 20 26 64 |pawn(&pg|mdsc, &d|
|00003400| 65 76 6e 61 6d 2c 20 30 | 2c 20 26 6f 6e 65 2c 20 |evnam, 0|, &one, |
|00003410| 30 2c 20 30 2c 20 30 2c | 20 30 2c 20 30 2c 20 30 |0, 0, 0,| 0, 0, 0|
|00003420| 2c 20 30 2c 20 30 2c 20 | 30 29 3b 0a 09 69 66 20 |, 0, 0, |0);..if |
|00003430| 28 28 76 61 78 63 24 65 | 72 72 6e 6f 20 26 20 53 |((vaxc$e|rrno & S|
|00003440| 53 24 5f 4e 4f 52 4d 41 | 4c 29 20 21 3d 20 53 53 |S$_NORMA|L) != SS|
|00003450| 24 5f 4e 4f 52 4d 41 4c | 29 20 7b 0a 09 20 20 20 |$_NORMAL|) {.. |
|00003460| 20 70 72 69 6e 74 66 28 | 22 4c 49 42 24 53 50 41 | printf(|"LIB$SPA|
|00003470| 57 4e 20 66 61 69 6c 65 | 64 20 77 69 74 68 20 73 |WN faile|d with s|
|00003480| 74 61 74 75 73 3d 25 64 | 5c 72 5c 6e 22 2c 20 76 |tatus=%d|\r\n", v|
|00003490| 61 78 63 24 65 72 72 6e | 6f 29 3b 0a 09 20 20 20 |axc$errn|o);.. |
|000034a0| 20 73 79 73 24 64 61 73 | 73 67 6e 28 58 31 31 5f | sys$das|sgn(X11_|
|000034b0| 63 68 61 6e 6e 65 6c 29 | 3b 0a 09 20 20 20 20 58 |channel)|;.. X|
|000034c0| 31 31 5f 63 68 61 6e 6e | 65 6c 20 3d 20 30 3b 0a |11_chann|el = 0;.|
|000034d0| 09 20 20 20 20 6f 73 5f | 65 72 72 6f 72 28 22 6c |. os_|error("l|
|000034e0| 69 62 24 73 70 61 77 6e | 20 66 61 69 6c 65 64 22 |ib$spawn| failed"|
|000034f0| 2c 20 4e 4f 5f 43 41 52 | 45 54 29 3b 0a 09 7d 0a |, NO_CAR|ET);..}.|
|00003500| 20 20 20 20 7d 20 7b 0a | 09 73 74 61 74 69 63 20 | } {.|.static |
|00003510| 69 6e 74 20 62 65 65 6e | 5f 68 65 72 65 20 3d 20 |int been|_here = |
|00003520| 30 3b 0a 09 69 66 20 28 | 21 62 65 65 6e 5f 68 65 |0;..if (|!been_he|
|00003530| 72 65 29 20 7b 0a 09 20 | 20 20 20 61 74 65 78 69 |re) {.. | atexi|
|00003540| 74 28 58 31 31 5f 61 74 | 65 78 69 74 29 3b 0a 09 |t(X11_at|exit);..|
|00003550| 20 20 20 20 62 65 65 6e | 5f 68 65 72 65 20 3d 20 | been|_here = |
|00003560| 31 3b 0a 09 7d 0a 20 20 | 20 20 7d 0a 7d 0a 0a 0a |1;..}. | }.}...|
|00003570| 2f 2a 20 20 20 57 65 20 | 75 73 65 20 24 51 49 4f |/* We |use $QIO|
|00003580| 20 69 6e 20 6f 72 64 65 | 72 20 74 6f 20 61 76 6f | in orde|r to avo|
|00003590| 69 64 20 62 75 66 66 65 | 72 69 6e 67 20 70 72 6f |id buffe|ring pro|
|000035a0| 62 6c 65 6d 73 2c 20 61 | 6c 74 68 6f 75 67 68 20 |blems, a|lthough |
|000035b0| 69 74 20 6d 69 67 68 74 | 20 0a 20 2a 20 20 20 77 |it might| . * w|
|000035c0| 6f 72 6b 20 20 61 73 20 | 77 65 6c 6c 20 77 69 74 |ork as |well wit|
|000035d0| 68 20 73 69 6d 70 6c 65 | 20 46 70 72 69 6e 74 66 |h simple| Fprintf|
|000035e0| 20 63 61 6c 6c 73 2e 0a | 20 2a 2f 0a 0a 23 64 65 | calls..| */..#de|
|000035f0| 66 69 6e 65 20 47 4f 28 | 78 29 20 5c 0a 7b 20 5c |fine GO(|x) \.{ \|
|00003600| 0a 20 20 20 63 68 61 72 | 20 62 75 66 66 65 72 5b |. char| buffer[|
|00003610| 35 31 32 5d 3b 20 69 6e | 74 20 73 74 61 74 75 73 |512]; in|t status|
|00003620| 3b 20 73 74 72 75 63 74 | 20 69 6f 73 62 20 69 6f |; struct| iosb io|
|00003630| 73 62 3b 5c 0a 20 20 20 | 73 70 72 69 6e 74 66 20 |sb;\. |sprintf |
|00003640| 78 3b 20 5c 0a 20 20 20 | 69 66 20 28 73 74 72 6c |x; \. |if (strl|
|00003650| 65 6e 28 62 75 66 66 65 | 72 29 20 3e 3d 20 4d 42 |en(buffe|r) >= MB|
|00003660| 58 4d 58 4d 53 47 20 29 | 20 20 7b 20 5c 0a 20 20 |XMXMSG )| { \. |
|00003670| 20 20 20 70 72 69 6e 74 | 66 28 22 62 75 66 66 65 | print|f("buffe|
|00003680| 72 20 63 6f 6e 74 65 6e | 74 73 20 28 25 64 20 63 |r conten|ts (%d c|
|00003690| 68 61 72 29 20 63 61 74 | 65 6e 61 74 65 64 20 74 |har) cat|enated t|
|000036a0| 6f 20 6d 61 69 6c 62 6f | 78 20 73 69 7a 65 20 28 |o mailbo|x size (|
|000036b0| 25 64 20 62 79 74 65 73 | 29 5c 6e 22 2c 20 5c 0a |%d bytes|)\n", \.|
|000036c0| 20 20 20 20 20 73 74 72 | 6c 65 6e 28 62 75 66 66 | str|len(buff|
|000036d0| 65 72 29 2c 20 4d 42 58 | 4d 58 4d 53 47 29 3b 20 |er), MBX|MXMSG); |
|000036e0| 5c 0a 20 20 20 20 20 62 | 75 66 66 65 72 5b 4d 42 |\. b|uffer[MB|
|000036f0| 58 4d 58 4d 53 47 2d 31 | 5d 20 3d 20 27 5c 30 27 |XMXMSG-1|] = '\0'|
|00003700| 3b 5c 0a 20 20 20 20 20 | 70 72 69 6e 74 66 28 22 |;\. |printf("|
|00003710| 25 73 5c 6e 22 2c 20 62 | 75 66 66 65 72 29 3b 20 |%s\n", b|uffer); |
|00003720| 5c 0a 20 20 20 7d 20 5c | 0a 20 20 20 73 74 61 74 |\. } \|. stat|
|00003730| 75 73 20 3d 20 73 79 73 | 24 71 69 6f 77 28 30 2c |us = sys|$qiow(0,|
|00003740| 20 58 31 31 5f 63 68 61 | 6e 6e 65 6c 2c 20 49 4f | X11_cha|nnel, IO|
|00003750| 24 5f 57 52 49 54 45 56 | 42 4c 4b 2c 20 26 69 6f |$_WRITEV|BLK, &io|
|00003760| 73 62 2c 20 30 2c 20 30 | 2c 20 62 75 66 66 65 72 |sb, 0, 0|, buffer|
|00003770| 2c 20 73 74 72 6c 65 6e | 28 62 75 66 66 65 72 29 |, strlen|(buffer)|
|00003780| 2c 20 30 2c 20 30 2c 20 | 30 2c 20 30 29 3b 20 5c |, 0, 0, |0, 0); \|
|00003790| 0a 20 20 20 69 66 20 28 | 28 73 74 61 74 75 73 20 |. if (|(status |
|000037a0| 26 20 53 53 24 5f 4e 4f | 52 4d 41 4c 29 20 3d 3d |& SS$_NO|RMAL) ==|
|000037b0| 20 53 53 24 5f 4e 4f 52 | 4d 41 4c 29 20 73 74 61 | SS$_NOR|MAL) sta|
|000037c0| 74 75 73 20 3d 20 69 6f | 73 62 2e 73 74 61 74 3b |tus = io|sb.stat;|
|000037d0| 20 5c 0a 20 20 20 69 66 | 28 28 73 74 61 74 75 73 | \. if|((status|
|000037e0| 20 26 20 53 53 24 5f 4e | 4f 52 4d 41 4c 29 20 21 | & SS$_N|ORMAL) !|
|000037f0| 3d 20 53 53 24 5f 4e 4f | 52 4d 41 4c 29 20 65 78 |= SS$_NO|RMAL) ex|
|00003800| 69 74 28 73 74 61 74 75 | 73 29 3b 20 5c 0a 20 7d |it(statu|s); \. }|
|00003810| 0a 0a 23 64 65 66 69 6e | 65 20 50 52 49 4e 54 30 |..#defin|e PRINT0|
|00003820| 28 66 6d 74 29 20 20 20 | 20 20 20 20 20 20 20 47 |(fmt) | G|
|00003830| 4f 28 20 28 62 75 66 66 | 65 72 2c 20 66 6d 74 29 |O( (buff|er, fmt)|
|00003840| 20 29 0a 23 64 65 66 69 | 6e 65 20 50 52 49 4e 54 | ).#defi|ne PRINT|
|00003850| 31 28 66 6d 74 2c 70 31 | 29 20 20 20 20 20 20 20 |1(fmt,p1|) |
|00003860| 47 4f 28 20 28 62 75 66 | 66 65 72 2c 20 66 6d 74 |GO( (buf|fer, fmt|
|00003870| 2c 70 31 29 20 29 0a 23 | 64 65 66 69 6e 65 20 50 |,p1) ).#|define P|
|00003880| 52 49 4e 54 32 28 66 6d | 74 2c 70 31 2c 70 32 29 |RINT2(fm|t,p1,p2)|
|00003890| 20 20 20 20 47 4f 28 20 | 28 62 75 66 66 65 72 2c | GO( |(buffer,|
|000038a0| 20 66 6d 74 2c 70 31 2c | 70 32 29 20 29 0a 23 64 | fmt,p1,|p2) ).#d|
|000038b0| 65 66 69 6e 65 20 50 52 | 49 4e 54 33 28 66 6d 74 |efine PR|INT3(fmt|
|000038c0| 2c 70 31 2c 70 32 2c 70 | 33 29 20 47 4f 28 20 28 |,p1,p2,p|3) GO( (|
|000038d0| 62 75 66 66 65 72 2c 20 | 66 6d 74 2c 70 31 2c 70 |buffer, |fmt,p1,p|
|000038e0| 32 2c 70 33 29 20 29 0a | 23 64 65 66 69 6e 65 20 |2,p3) ).|#define |
|000038f0| 50 52 49 4e 54 34 28 66 | 6d 74 2c 70 31 2c 70 32 |PRINT4(f|mt,p1,p2|
|00003900| 2c 70 33 2c 70 34 29 20 | 47 4f 28 20 28 62 75 66 |,p3,p4) |GO( (buf|
|00003910| 66 65 72 2c 20 66 6d 74 | 2c 70 31 2c 70 32 2c 70 |fer, fmt|,p1,p2,p|
|00003920| 33 2c 70 34 29 20 29 0a | 23 64 65 66 69 6e 65 20 |3,p4) ).|#define |
|00003930| 50 52 49 4e 54 35 28 66 | 6d 74 2c 70 31 2c 70 32 |PRINT5(f|mt,p1,p2|
|00003940| 2c 70 33 2c 70 34 2c 70 | 35 29 20 47 4f 28 20 28 |,p3,p4,p|5) GO( (|
|00003950| 62 75 66 66 65 72 2c 20 | 66 6d 74 2c 70 31 2c 70 |buffer, |fmt,p1,p|
|00003960| 32 2c 70 33 2c 70 34 2c | 70 35 29 20 29 0a 0a 23 |2,p3,p4,|p5) )..#|
|00003970| 64 65 66 69 6e 65 20 46 | 46 4c 55 53 48 28 29 09 |define F|FLUSH().|
|00003980| 09 2f 2a 20 6e 6f 77 74 | 20 2a 2f 0a 23 64 65 66 |./* nowt| */.#def|
|00003990| 69 6e 65 20 42 45 46 4f | 52 45 5f 47 52 41 50 48 |ine BEFO|RE_GRAPH|
|000039a0| 49 43 53 09 09 2f 2a 20 | 6e 6f 77 74 20 2a 2f 0a |ICS../* |nowt */.|
|000039b0| 23 64 65 66 69 6e 65 20 | 41 46 54 45 52 5f 54 45 |#define |AFTER_TE|
|000039c0| 58 54 09 09 2f 2a 20 6e | 6f 77 74 20 2a 2f 0a 0a |XT../* n|owt */..|
|000039d0| 73 74 61 74 69 63 20 76 | 6f 69 64 0a 58 31 31 5f |static v|oid.X11_|
|000039e0| 61 74 65 78 69 74 20 48 | 41 4e 44 4c 45 52 5f 44 |atexit H|ANDLER_D|
|000039f0| 45 43 4c 0a 7b 0a 20 20 | 20 20 69 66 20 28 58 31 |ECL.{. | if (X1|
|00003a00| 31 5f 63 68 61 6e 6e 65 | 6c 29 20 7b 0a 09 50 52 |1_channe|l) {..PR|
|00003a10| 49 4e 54 30 28 22 52 5c | 6e 22 29 3b 0a 09 73 6c |INT0("R\|n");..sl|
|00003a20| 65 65 70 28 32 29 3b 09 | 09 2f 2a 20 57 61 69 74 |eep(2);.|./* Wait|
|00003a30| 20 66 6f 72 20 73 75 62 | 70 72 6f 63 65 73 73 20 | for sub|process |
|00003a40| 74 6f 20 66 69 6e 69 73 | 68 20 2a 2f 0a 09 73 79 |to finis|h */..sy|
|00003a50| 73 24 64 61 73 73 67 6e | 28 58 31 31 5f 63 68 61 |s$dassgn|(X11_cha|
|00003a60| 6e 6e 65 6c 29 3b 0a 09 | 58 31 31 5f 63 68 61 6e |nnel);..|X11_chan|
|00003a70| 6e 65 6c 20 3d 20 30 3b | 0a 20 20 20 20 7d 0a 7d |nel = 0;|. }.}|
|00003a80| 0a 0a 54 45 52 4d 5f 50 | 55 42 4c 49 43 20 76 6f |..TERM_P|UBLIC vo|
|00003a90| 69 64 0a 58 31 31 5f 72 | 65 73 65 74 28 29 0a 7b |id.X11_r|eset().{|
|00003aa0| 0a 20 20 20 20 2f 2a 20 | 64 6f 20 6e 6f 74 68 69 |. /* |do nothi|
|00003ab0| 6e 67 20 75 6e 74 69 6c | 20 65 78 69 74 20 2a 2f |ng until| exit */|
|00003ac0| 0a 7d 0a 0a 23 65 6c 73 | 65 20 2f 2a 20 21 56 4d |.}..#els|e /* !VM|
|00003ad0| 53 20 2a 2f 0a 59 6f 75 | 20 6c 6f 73 65 2e 0a 23 |S */.You| lose..#|
|00003ae0| 65 6e 64 69 66 20 2f 2a | 20 21 56 4d 53 20 2a 2f |endif /*| !VMS */|
|00003af0| 0a 0a 0a 2f 2a 20 63 6f | 6d 6d 6f 6e 20 73 74 75 |.../* co|mmon stu|
|00003b00| 66 66 2c 20 75 73 69 6e | 67 20 6d 61 63 72 6f 73 |ff, usin|g macros|
|00003b10| 20 64 65 66 69 6e 65 64 | 20 61 62 6f 76 65 20 2a | defined| above *|
|00003b20| 2f 0a 0a 0a 54 45 52 4d | 5f 50 55 42 4c 49 43 20 |/...TERM|_PUBLIC |
|00003b30| 76 6f 69 64 0a 58 31 31 | 5f 67 72 61 70 68 69 63 |void.X11|_graphic|
|00003b40| 73 28 29 0a 7b 0a 20 20 | 20 20 42 45 46 4f 52 45 |s().{. | BEFORE|
|00003b50| 5f 47 52 41 50 48 49 43 | 53 3b 09 09 2f 2a 20 6b |_GRAPHIC|S;../* k|
|00003b60| 6c 75 64 67 65 20 66 6f | 72 20 63 72 69 70 70 6c |ludge fo|r crippl|
|00003b70| 65 64 20 73 65 6c 65 63 | 74 20 2a 2f 0a 0a 20 20 |ed selec|t */.. |
|00003b80| 20 20 2f 2a 20 66 6f 72 | 20 56 4d 53 20 73 61 6b | /* for| VMS sak|
|00003b90| 65 2c 20 6b 65 65 70 20 | 61 73 20 73 65 70 61 72 |e, keep |as separ|
|00003ba0| 61 74 65 20 70 72 69 6e | 74 73 20 2a 2f 0a 20 20 |ate prin|ts */. |
|00003bb0| 20 20 50 52 49 4e 54 31 | 28 22 47 25 64 5c 6e 22 | PRINT1|("G%d\n"|
|00003bc0| 2c 20 58 31 31 5f 70 6c | 6f 74 5f 6e 75 6d 62 65 |, X11_pl|ot_numbe|
|00003bd0| 72 29 3b 0a 0a 23 69 66 | 64 65 66 20 55 4c 54 52 |r);..#if|def ULTR|
|00003be0| 49 58 5f 4b 4c 55 44 47 | 45 0a 20 20 20 20 66 66 |IX_KLUDG|E. ff|
|00003bf0| 6c 75 73 68 28 58 31 31 | 5f 69 70 63 29 3b 0a 23 |lush(X11|_ipc);.#|
|00003c00| 65 6e 64 69 66 0a 0a 7d | 0a 0a 54 45 52 4d 5f 50 |endif..}|..TERM_P|
|00003c10| 55 42 4c 49 43 20 76 6f | 69 64 0a 58 31 31 5f 74 |UBLIC vo|id.X11_t|
|00003c20| 65 78 74 28 29 0a 7b 0a | 20 20 20 20 50 52 49 4e |ext().{.| PRIN|
|00003c30| 54 30 28 22 45 5c 6e 22 | 29 3b 0a 20 20 20 20 46 |T0("E\n"|);. F|
|00003c40| 46 4c 55 53 48 28 29 3b | 0a 23 69 66 64 65 66 20 |FLUSH();|.#ifdef |
|00003c50| 55 4c 54 52 49 58 5f 4b | 4c 55 44 47 45 0a 20 20 |ULTRIX_K|LUDGE. |
|00003c60| 20 20 50 52 49 4e 54 30 | 28 22 45 5c 6e 22 29 3b | PRINT0|("E\n");|
|00003c70| 0a 20 20 20 20 46 46 4c | 55 53 48 28 29 3b 0a 23 |. FFL|USH();.#|
|00003c80| 65 6e 64 69 66 0a 0a 20 | 20 20 20 41 46 54 45 52 |endif.. | AFTER|
|00003c90| 5f 54 45 58 54 3b 09 09 | 09 2f 2a 20 6b 6c 75 64 |_TEXT;..|./* klud|
|00003ca0| 67 65 20 66 6f 72 20 63 | 72 69 70 70 6c 65 64 20 |ge for c|rippled |
|00003cb0| 73 65 6c 65 63 74 20 2a | 2f 0a 7d 0a 0a 0a 54 45 |select *|/.}...TE|
|00003cc0| 52 4d 5f 50 55 42 4c 49 | 43 20 76 6f 69 64 0a 58 |RM_PUBLI|C void.X|
|00003cd0| 31 31 5f 6d 6f 76 65 28 | 78 2c 20 79 29 0a 75 6e |11_move(|x, y).un|
|00003ce0| 73 69 67 6e 65 64 20 69 | 6e 74 20 78 2c 20 79 3b |signed i|nt x, y;|
|00003cf0| 0a 7b 0a 20 20 20 20 50 | 52 49 4e 54 32 28 22 4d |.{. P|RINT2("M|
|00003d00| 25 30 34 64 25 30 34 64 | 5c 6e 22 2c 20 78 2c 20 |%04d%04d|\n", x, |
|00003d10| 79 29 3b 0a 7d 0a 0a 54 | 45 52 4d 5f 50 55 42 4c |y);.}..T|ERM_PUBL|
|00003d20| 49 43 20 76 6f 69 64 0a | 58 31 31 5f 76 65 63 74 |IC void.|X11_vect|
|00003d30| 6f 72 28 78 2c 20 79 29 | 0a 75 6e 73 69 67 6e 65 |or(x, y)|.unsigne|
|00003d40| 64 20 69 6e 74 20 78 2c | 20 79 3b 0a 7b 0a 20 20 |d int x,| y;.{. |
|00003d50| 20 20 50 52 49 4e 54 32 | 28 22 56 25 30 34 64 25 | PRINT2|("V%04d%|
|00003d60| 30 34 64 5c 6e 22 2c 20 | 78 2c 20 79 29 3b 0a 7d |04d\n", |x, y);.}|
|00003d70| 0a 0a 54 45 52 4d 5f 50 | 55 42 4c 49 43 20 76 6f |..TERM_P|UBLIC vo|
|00003d80| 69 64 0a 58 31 31 5f 70 | 6f 69 6e 74 73 69 7a 65 |id.X11_p|ointsize|
|00003d90| 28 70 73 29 0a 64 6f 75 | 62 6c 65 20 70 73 3b 0a |(ps).dou|ble ps;.|
|00003da0| 7b 0a 20 20 20 20 50 52 | 49 4e 54 32 28 22 50 37 |{. PR|INT2("P7|
|00003db0| 25 30 34 64 25 30 34 64 | 5c 6e 22 2c 09 2f 2a 20 |%04d%04d|\n",./* |
|00003dc0| 73 69 7a 65 20 6f 66 20 | 70 6f 69 6e 74 20 73 79 |size of |point sy|
|00003dd0| 6d 62 6f 6c 73 20 2a 2f | 0a 09 20 20 20 28 69 6e |mbols */|.. (in|
|00003de0| 74 29 20 28 74 65 72 6d | 2d 3e 68 5f 74 69 63 20 |t) (term|->h_tic |
|00003df0| 2a 20 70 73 20 2a 20 30 | 2e 35 29 2c 20 28 69 6e |* ps * 0|.5), (in|
|00003e00| 74 29 20 28 74 65 72 6d | 2d 3e 76 5f 74 69 63 20 |t) (term|->v_tic |
|00003e10| 2a 20 70 73 20 2a 20 30 | 2e 35 29 29 3b 0a 7d 0a |* ps * 0|.5));.}.|
|00003e20| 0a 54 45 52 4d 5f 50 55 | 42 4c 49 43 20 76 6f 69 |.TERM_PU|BLIC voi|
|00003e30| 64 0a 58 31 31 5f 6c 69 | 6e 65 77 69 64 74 68 28 |d.X11_li|newidth(|
|00003e40| 6c 77 29 0a 64 6f 75 62 | 6c 65 20 6c 77 3b 0a 7b |lw).doub|le lw;.{|
|00003e50| 0a 20 20 20 20 50 52 49 | 4e 54 31 28 22 57 25 30 |. PRI|NT1("W%0|
|00003e60| 34 64 5c 6e 22 2c 20 28 | 69 6e 74 29 20 6c 77 29 |4d\n", (|int) lw)|
|00003e70| 3b 0a 7d 0a 0a 54 45 52 | 4d 5f 50 55 42 4c 49 43 |;.}..TER|M_PUBLIC|
|00003e80| 20 76 6f 69 64 0a 58 31 | 31 5f 6c 69 6e 65 74 79 | void.X1|1_linety|
|00003e90| 70 65 28 6c 74 29 0a 69 | 6e 74 20 6c 74 3b 0a 7b |pe(lt).i|nt lt;.{|
|00003ea0| 0a 20 20 20 20 50 52 49 | 4e 54 31 28 22 4c 25 30 |. PRI|NT1("L%0|
|00003eb0| 34 64 5c 6e 22 2c 20 6c | 74 29 3b 0a 7d 0a 0a 54 |4d\n", l|t);.}..T|
|00003ec0| 45 52 4d 5f 50 55 42 4c | 49 43 20 76 6f 69 64 0a |ERM_PUBL|IC void.|
|00003ed0| 58 31 31 5f 70 75 74 5f | 74 65 78 74 28 78 2c 20 |X11_put_|text(x, |
|00003ee0| 79 2c 20 73 74 72 29 0a | 75 6e 73 69 67 6e 65 64 |y, str).|unsigned|
|00003ef0| 20 69 6e 74 20 78 2c 20 | 79 3b 0a 63 68 61 72 20 | int x, |y;.char |
|00003f00| 73 74 72 5b 5d 3b 0a 7b | 0a 20 20 20 20 2f 2a 20 |str[];.{|. /* |
|00003f10| 62 61 64 6c 79 20 6f 75 | 74 72 61 6e 67 65 20 6c |badly ou|trange l|
|00003f20| 61 62 65 6c 73 20 63 61 | 6e 20 6f 76 65 72 66 6c |abels ca|n overfl|
|00003f30| 6f 77 20 69 6e 74 6f 20 | 74 65 78 74 20 66 69 65 |ow into |text fie|
|00003f40| 6c 64 20 2a 2f 0a 20 20 | 20 20 69 66 20 28 78 20 |ld */. | if (x |
|00003f50| 3c 20 31 30 30 30 30 20 | 26 26 20 79 20 3c 20 31 |< 10000 |&& y < 1|
|00003f60| 30 30 30 30 29 20 7b 0a | 09 50 52 49 4e 54 33 28 |0000) {.|.PRINT3(|
|00003f70| 22 54 25 30 34 64 25 30 | 34 64 25 73 5c 6e 22 2c |"T%04d%0|4d%s\n",|
|00003f80| 20 78 2c 20 79 2c 20 73 | 74 72 29 3b 0a 20 20 20 | x, y, s|tr);. |
|00003f90| 20 7d 0a 7d 0a 0a 54 45 | 52 4d 5f 50 55 42 4c 49 | }.}..TE|RM_PUBLI|
|00003fa0| 43 20 69 6e 74 0a 58 31 | 31 5f 6a 75 73 74 69 66 |C int.X1|1_justif|
|00003fb0| 79 5f 74 65 78 74 28 6d | 6f 64 65 29 0a 65 6e 75 |y_text(m|ode).enu|
|00003fc0| 6d 20 4a 55 53 54 49 46 | 59 20 6d 6f 64 65 3b 0a |m JUSTIF|Y mode;.|
|00003fd0| 7b 0a 20 20 20 20 50 52 | 49 4e 54 31 28 22 4a 25 |{. PR|INT1("J%|
|00003fe0| 30 34 64 5c 6e 22 2c 20 | 6d 6f 64 65 29 3b 0a 20 |04d\n", |mode);. |
|00003ff0| 20 20 20 72 65 74 75 72 | 6e 20 28 54 52 55 45 29 | retur|n (TRUE)|
|00004000| 3b 0a 7d 0a 0a 54 45 52 | 4d 5f 50 55 42 4c 49 43 |;.}..TER|M_PUBLIC|
|00004010| 20 76 6f 69 64 0a 58 31 | 31 5f 70 6f 69 6e 74 28 | void.X1|1_point(|
|00004020| 78 2c 20 79 2c 20 6e 75 | 6d 62 65 72 29 0a 75 6e |x, y, nu|mber).un|
|00004030| 73 69 67 6e 65 64 20 69 | 6e 74 20 78 2c 20 79 3b |signed i|nt x, y;|
|00004040| 0a 69 6e 74 20 6e 75 6d | 62 65 72 3b 0a 7b 0a 20 |.int num|ber;.{. |
|00004050| 20 20 20 69 66 20 28 6e | 75 6d 62 65 72 20 3e 3d | if (n|umber >=|
|00004060| 20 30 29 0a 09 6e 75 6d | 62 65 72 20 25 3d 20 50 | 0)..num|ber %= P|
|00004070| 4f 49 4e 54 5f 54 59 50 | 45 53 3b 0a 20 20 20 20 |OINT_TYP|ES;. |
|00004080| 6e 75 6d 62 65 72 20 2b | 3d 20 31 3b 0a 20 20 20 |number +|= 1;. |
|00004090| 20 50 52 49 4e 54 33 28 | 22 50 25 30 31 64 25 30 | PRINT3(|"P%01d%0|
|000040a0| 34 64 25 30 34 64 5c 6e | 22 2c 20 6e 75 6d 62 65 |4d%04d\n|", numbe|
|000040b0| 72 2c 20 78 2c 20 79 29 | 3b 0a 7d 0a 0a 54 45 52 |r, x, y)|;.}..TER|
|000040c0| 4d 5f 50 55 42 4c 49 43 | 20 76 6f 69 64 0a 58 31 |M_PUBLIC| void.X1|
|000040d0| 31 5f 66 69 6c 6c 62 6f | 78 28 73 74 79 6c 65 2c |1_fillbo|x(style,|
|000040e0| 20 78 2c 20 79 2c 20 77 | 2c 20 68 29 0a 69 6e 74 | x, y, w|, h).int|
|000040f0| 20 73 74 79 6c 65 3b 0a | 75 6e 73 69 67 6e 65 64 | style;.|unsigned|
|00004100| 20 69 6e 74 20 78 2c 20 | 79 2c 20 77 2c 20 68 3b | int x, |y, w, h;|
|00004110| 0a 7b 0a 20 20 20 20 50 | 52 49 4e 54 35 28 22 46 |.{. P|RINT5("F|
|00004120| 25 30 34 64 25 30 34 75 | 25 30 34 75 25 30 34 75 |%04d%04u|%04u%04u|
|00004130| 25 30 34 75 5c 6e 22 2c | 20 73 74 79 6c 65 2c 20 |%04u\n",| style, |
|00004140| 78 2c 20 79 2c 20 77 2c | 20 68 29 3b 0a 7d 0a 0a |x, y, w,| h);.}..|
|00004150| 23 65 6e 64 69 66 20 2f | 2a 20 54 45 52 4d 5f 42 |#endif /|* TERM_B|
|00004160| 4f 44 59 20 2a 2f 0a 0a | 23 69 66 64 65 66 20 54 |ODY */..|#ifdef T|
|00004170| 45 52 4d 5f 54 41 42 4c | 45 0a 0a 54 45 52 4d 5f |ERM_TABL|E..TERM_|
|00004180| 54 41 42 4c 45 5f 53 54 | 41 52 54 28 78 31 31 5f |TABLE_ST|ART(x11_|
|00004190| 64 72 69 76 65 72 29 0a | 20 20 20 20 22 78 31 31 |driver).| "x11|
|000041a0| 22 2c 20 22 58 31 31 20 | 57 69 6e 64 6f 77 20 53 |", "X11 |Window S|
|000041b0| 79 73 74 65 6d 22 2c 0a | 20 20 20 20 58 31 31 5f |ystem",.| X11_|
|000041c0| 58 4d 41 58 2c 20 58 31 | 31 5f 59 4d 41 58 2c 20 |XMAX, X1|1_YMAX, |
|000041d0| 58 31 31 5f 56 43 48 41 | 52 2c 20 58 31 31 5f 48 |X11_VCHA|R, X11_H|
|000041e0| 43 48 41 52 2c 0a 20 20 | 20 20 58 31 31 5f 56 54 |CHAR,. | X11_VT|
|000041f0| 49 43 2c 20 58 31 31 5f | 48 54 49 43 2c 20 58 31 |IC, X11_|HTIC, X1|
|00004200| 31 5f 6f 70 74 69 6f 6e | 73 2c 20 58 31 31 5f 69 |1_option|s, X11_i|
|00004210| 6e 69 74 2c 20 58 31 31 | 5f 72 65 73 65 74 2c 0a |nit, X11|_reset,.|
|00004220| 20 20 20 20 58 31 31 5f | 74 65 78 74 2c 20 6e 75 | X11_|text, nu|
|00004230| 6c 6c 5f 73 63 61 6c 65 | 2c 20 58 31 31 5f 67 72 |ll_scale|, X11_gr|
|00004240| 61 70 68 69 63 73 2c 20 | 58 31 31 5f 6d 6f 76 65 |aphics, |X11_move|
|00004250| 2c 20 58 31 31 5f 76 65 | 63 74 6f 72 2c 0a 20 20 |, X11_ve|ctor,. |
|00004260| 20 20 58 31 31 5f 6c 69 | 6e 65 74 79 70 65 2c 20 | X11_li|netype, |
|00004270| 58 31 31 5f 70 75 74 5f | 74 65 78 74 2c 20 6e 75 |X11_put_|text, nu|
|00004280| 6c 6c 5f 74 65 78 74 5f | 61 6e 67 6c 65 2c 0a 20 |ll_text_|angle,. |
|00004290| 20 20 20 58 31 31 5f 6a | 75 73 74 69 66 79 5f 74 | X11_j|ustify_t|
|000042a0| 65 78 74 2c 20 58 31 31 | 5f 70 6f 69 6e 74 2c 20 |ext, X11|_point, |
|000042b0| 64 6f 5f 61 72 72 6f 77 | 2c 20 73 65 74 5f 66 6f |do_arrow|, set_fo|
|000042c0| 6e 74 5f 6e 75 6c 6c 2c | 0a 20 20 20 20 58 31 31 |nt_null,|. X11|
|000042d0| 5f 70 6f 69 6e 74 73 69 | 7a 65 2c 20 54 45 52 4d |_pointsi|ze, TERM|
|000042e0| 5f 43 41 4e 5f 4d 55 4c | 54 49 50 4c 4f 54 2c 0a |_CAN_MUL|TIPLOT,.|
|000042f0| 20 20 20 20 58 31 31 5f | 74 65 78 74 20 2f 2a 20 | X11_|text /* |
|00004300| 73 75 73 70 65 6e 64 20 | 63 61 6e 20 75 73 65 20 |suspend |can use |
|00004310| 73 61 6d 65 20 72 6f 75 | 74 69 6e 65 20 2a 2f 20 |same rou|tine */ |
|00004320| 2c 20 30 20 2f 2a 20 72 | 65 73 75 6d 65 20 2a 2f |, 0 /* r|esume */|
|00004330| 20 2c 0a 20 20 20 20 58 | 31 31 5f 66 69 6c 6c 62 | ,. X|11_fillb|
|00004340| 6f 78 2c 20 58 31 31 5f | 6c 69 6e 65 77 69 64 74 |ox, X11_|linewidt|
|00004350| 68 0a 54 45 52 4d 5f 54 | 41 42 4c 45 5f 45 4e 44 |h.TERM_T|ABLE_END|
|00004360| 28 78 31 31 5f 64 72 69 | 76 65 72 29 0a 0a 23 75 |(x11_dri|ver)..#u|
|00004370| 6e 64 65 66 20 4c 41 53 | 54 5f 54 45 52 4d 0a 23 |ndef LAS|T_TERM.#|
|00004380| 64 65 66 69 6e 65 20 4c | 41 53 54 5f 54 45 52 4d |define L|AST_TERM|
|00004390| 20 78 31 31 5f 64 72 69 | 76 65 72 0a 0a 54 45 52 | x11_dri|ver..TER|
|000043a0| 4d 5f 54 41 42 4c 45 5f | 53 54 41 52 54 28 58 31 |M_TABLE_|START(X1|
|000043b0| 31 5f 64 72 69 76 65 72 | 29 0a 20 20 20 20 22 58 |1_driver|). "X|
|000043c0| 31 31 22 2c 20 22 58 31 | 31 20 57 69 6e 64 6f 77 |11", "X1|1 Window|
|000043d0| 20 53 79 73 74 65 6d 20 | 28 69 64 65 6e 74 69 63 | System |(identic|
|000043e0| 61 6c 20 74 6f 20 78 31 | 31 29 22 2c 0a 20 20 20 |al to x1|1)",. |
|000043f0| 20 58 31 31 5f 58 4d 41 | 58 2c 20 58 31 31 5f 59 | X11_XMA|X, X11_Y|
|00004400| 4d 41 58 2c 20 58 31 31 | 5f 56 43 48 41 52 2c 20 |MAX, X11|_VCHAR, |
|00004410| 58 31 31 5f 48 43 48 41 | 52 2c 0a 20 20 20 20 58 |X11_HCHA|R,. X|
|00004420| 31 31 5f 56 54 49 43 2c | 20 58 31 31 5f 48 54 49 |11_VTIC,| X11_HTI|
|00004430| 43 2c 20 58 31 31 5f 6f | 70 74 69 6f 6e 73 2c 20 |C, X11_o|ptions, |
|00004440| 58 31 31 5f 69 6e 69 74 | 2c 20 58 31 31 5f 72 65 |X11_init|, X11_re|
|00004450| 73 65 74 2c 0a 20 20 20 | 20 58 31 31 5f 74 65 78 |set,. | X11_tex|
|00004460| 74 2c 20 6e 75 6c 6c 5f | 73 63 61 6c 65 2c 20 58 |t, null_|scale, X|
|00004470| 31 31 5f 67 72 61 70 68 | 69 63 73 2c 20 58 31 31 |11_graph|ics, X11|
|00004480| 5f 6d 6f 76 65 2c 20 58 | 31 31 5f 76 65 63 74 6f |_move, X|11_vecto|
|00004490| 72 2c 0a 20 20 20 20 58 | 31 31 5f 6c 69 6e 65 74 |r,. X|11_linet|
|000044a0| 79 70 65 2c 20 58 31 31 | 5f 70 75 74 5f 74 65 78 |ype, X11|_put_tex|
|000044b0| 74 2c 20 6e 75 6c 6c 5f | 74 65 78 74 5f 61 6e 67 |t, null_|text_ang|
|000044c0| 6c 65 2c 0a 20 20 20 20 | 58 31 31 5f 6a 75 73 74 |le,. |X11_just|
|000044d0| 69 66 79 5f 74 65 78 74 | 2c 20 58 31 31 5f 70 6f |ify_text|, X11_po|
|000044e0| 69 6e 74 2c 20 64 6f 5f | 61 72 72 6f 77 2c 20 73 |int, do_|arrow, s|
|000044f0| 65 74 5f 66 6f 6e 74 5f | 6e 75 6c 6c 2c 0a 20 20 |et_font_|null,. |
|00004500| 20 20 58 31 31 5f 70 6f | 69 6e 74 73 69 7a 65 2c | X11_po|intsize,|
|00004510| 20 54 45 52 4d 5f 43 41 | 4e 5f 4d 55 4c 54 49 50 | TERM_CA|N_MULTIP|
|00004520| 4c 4f 54 2c 0a 20 20 20 | 20 58 31 31 5f 74 65 78 |LOT,. | X11_tex|
|00004530| 74 20 2f 2a 20 73 75 73 | 70 65 6e 64 20 63 61 6e |t /* sus|pend can|
|00004540| 20 75 73 65 20 73 61 6d | 65 20 72 6f 75 74 69 6e | use sam|e routin|
|00004550| 65 20 2a 2f 20 2c 20 30 | 20 2f 2a 20 72 65 73 75 |e */ , 0| /* resu|
|00004560| 6d 65 20 2a 2f 20 2c 0a | 20 20 20 20 58 31 31 5f |me */ ,.| X11_|
|00004570| 66 69 6c 6c 62 6f 78 2c | 20 58 31 31 5f 6c 69 6e |fillbox,| X11_lin|
|00004580| 65 77 69 64 74 68 0a 54 | 45 52 4d 5f 54 41 42 4c |ewidth.T|ERM_TABL|
|00004590| 45 5f 45 4e 44 28 58 31 | 31 5f 64 72 69 76 65 72 |E_END(X1|1_driver|
|000045a0| 29 0a 0a 23 75 6e 64 65 | 66 20 4c 41 53 54 5f 54 |)..#unde|f LAST_T|
|000045b0| 45 52 4d 0a 23 64 65 66 | 69 6e 65 20 4c 41 53 54 |ERM.#def|ine LAST|
|000045c0| 5f 54 45 52 4d 20 78 31 | 31 5f 64 72 69 76 65 72 |_TERM x1|1_driver|
|000045d0| 0a 0a 23 65 6e 64 69 66 | 20 2f 2a 20 54 45 52 4d |..#endif| /* TERM|
|000045e0| 5f 54 41 42 4c 45 20 2a | 2f 0a 23 65 6e 64 69 66 |_TABLE *|/.#endif|
|000045f0| 20 2f 2a 20 54 45 52 4d | 5f 50 52 4f 54 4f 5f 4f | /* TERM|_PROTO_O|
|00004600| 4e 4c 59 20 2a 2f 0a 0a | 0a 23 69 66 64 65 66 20 |NLY */..|.#ifdef |
|00004610| 54 45 52 4d 5f 48 45 4c | 50 0a 53 54 41 52 54 5f |TERM_HEL|P.START_|
|00004620| 48 45 4c 50 28 78 31 31 | 29 0a 22 31 20 78 31 31 |HELP(x11|)."1 x11|
|00004630| 22 2c 0a 22 3f 63 6f 6d | 6d 61 6e 64 73 20 73 65 |",."?com|mands se|
|00004640| 74 20 74 65 72 6d 69 6e | 61 6c 20 78 31 31 22 2c |t termin|al x11",|
|00004650| 0a 22 3f 73 65 74 20 74 | 65 72 6d 69 6e 61 6c 20 |."?set t|erminal |
|00004660| 78 31 31 22 2c 0a 22 3f | 73 65 74 20 74 65 72 6d |x11",."?|set term|
|00004670| 20 78 31 31 22 2c 0a 22 | 3f 74 65 72 6d 69 6e 61 | x11",."|?termina|
|00004680| 6c 20 78 31 31 22 2c 0a | 22 3f 74 65 72 6d 20 78 |l x11",.|"?term x|
|00004690| 31 31 22 2c 0a 22 3f 78 | 31 31 22 2c 0a 22 3f 58 |11",."?x|11",."?X|
|000046a0| 31 31 22 2c 0a 22 20 60 | 67 6e 75 70 6c 6f 74 60 |11",." `|gnuplot`|
|000046b0| 20 70 72 6f 76 69 64 65 | 73 20 74 68 65 20 60 78 | provide|s the `x|
|000046c0| 31 31 60 20 74 65 72 6d | 69 6e 61 6c 20 74 79 70 |11` term|inal typ|
|000046d0| 65 20 66 6f 72 20 75 73 | 65 20 77 69 74 68 20 58 |e for us|e with X|
|000046e0| 20 73 65 72 76 65 72 73 | 2e 20 20 54 68 69 73 22 | servers|. This"|
|000046f0| 2c 0a 22 20 74 65 72 6d | 69 6e 61 6c 20 74 79 70 |,." term|inal typ|
|00004700| 65 20 69 73 20 73 65 74 | 20 61 75 74 6f 6d 61 74 |e is set| automat|
|00004710| 69 63 61 6c 6c 79 20 61 | 74 20 73 74 61 72 74 75 |ically a|t startu|
|00004720| 70 20 69 66 20 74 68 65 | 20 60 44 49 53 50 4c 41 |p if the| `DISPLA|
|00004730| 59 60 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 22 2c |Y` envir|onment",|
|00004740| 0a 22 20 76 61 72 69 61 | 62 6c 65 20 69 73 20 73 |." varia|ble is s|
|00004750| 65 74 2c 20 69 66 20 74 | 68 65 20 60 54 45 52 4d |et, if t|he `TERM|
|00004760| 60 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 76 61 |` enviro|nment va|
|00004770| 72 69 61 62 6c 65 20 69 | 73 20 73 65 74 20 74 6f |riable i|s set to|
|00004780| 20 60 78 74 65 72 6d 60 | 2c 20 6f 72 22 2c 0a 22 | `xterm`|, or",."|
|00004790| 20 69 66 20 74 68 65 20 | 60 2d 64 69 73 70 6c 61 | if the |`-displa|
|000047a0| 79 60 20 63 6f 6d 6d 61 | 6e 64 20 6c 69 6e 65 20 |y` comma|nd line |
|000047b0| 6f 70 74 69 6f 6e 20 69 | 73 20 75 73 65 64 2e 22 |option i|s used."|
|000047c0| 2c 0a 22 22 2c 0a 22 20 | 53 79 6e 74 61 78 3a 22 |,."",." |Syntax:"|
|000047d0| 2c 0a 22 20 20 20 20 20 | 20 20 73 65 74 20 74 65 |,." | set te|
|000047e0| 72 6d 69 6e 61 6c 20 78 | 31 31 20 7b 72 65 73 65 |rminal x|11 {rese|
|000047f0| 74 7d 20 7b 3c 6e 3e 7d | 22 2c 0a 22 22 2c 0a 22 |t} {<n>}|",."",."|
|00004800| 20 4d 75 6c 74 69 70 6c | 65 20 70 6c 6f 74 20 77 | Multipl|e plot w|
|00004810| 69 6e 64 6f 77 73 20 61 | 72 65 20 73 75 70 70 6f |indows a|re suppo|
|00004820| 72 74 65 64 3a 20 60 73 | 65 74 20 74 65 72 6d 69 |rted: `s|et termi|
|00004830| 6e 61 6c 20 78 31 31 20 | 3c 6e 3e 60 20 64 69 72 |nal x11 |<n>` dir|
|00004840| 65 63 74 73 20 74 68 65 | 22 2c 0a 22 20 6f 75 74 |ects the|",." out|
|00004850| 70 75 74 20 74 6f 20 70 | 6c 6f 74 20 77 69 6e 64 |put to p|lot wind|
|00004860| 6f 77 20 6e 75 6d 62 65 | 72 20 6e 2e 20 20 49 66 |ow numbe|r n. If|
|00004870| 20 6e 3e 30 2c 20 74 68 | 65 20 74 65 72 6d 69 6e | n>0, th|e termin|
|00004880| 61 6c 20 6e 75 6d 62 65 | 72 20 77 69 6c 6c 20 62 |al numbe|r will b|
|00004890| 65 22 2c 0a 22 20 61 70 | 70 65 6e 64 65 64 20 74 |e",." ap|pended t|
|000048a0| 6f 20 74 68 65 20 77 69 | 6e 64 6f 77 20 74 69 74 |o the wi|ndow tit|
|000048b0| 6c 65 20 61 6e 64 20 74 | 68 65 20 69 63 6f 6e 20 |le and t|he icon |
|000048c0| 77 69 6c 6c 20 62 65 20 | 6c 61 62 65 6c 65 64 20 |will be |labeled |
|000048d0| 60 67 70 6c 74 20 3c 6e | 3e 60 2e 22 2c 0a 22 20 |`gplt <n|>`.",." |
|000048e0| 54 68 65 20 61 63 74 69 | 76 65 20 77 69 6e 64 6f |The acti|ve windo|
|000048f0| 77 20 6d 61 79 20 64 69 | 73 74 69 6e 67 75 69 73 |w may di|stinguis|
|00004900| 68 65 64 20 62 79 20 61 | 20 63 68 61 6e 67 65 20 |hed by a| change |
|00004910| 69 6e 20 63 75 72 73 6f | 72 20 28 66 72 6f 6d 20 |in curso|r (from |
|00004920| 64 65 66 61 75 6c 74 22 | 2c 0a 22 20 74 6f 20 63 |default"|,." to c|
|00004930| 72 6f 73 73 68 61 69 72 | 2e 29 22 2c 0a 22 22 2c |rosshair|.)",."",|
|00004940| 0a 22 20 50 6c 6f 74 20 | 77 69 6e 64 6f 77 73 20 |." Plot |windows |
|00004950| 72 65 6d 61 69 6e 20 6f | 70 65 6e 20 65 76 65 6e |remain o|pen even|
|00004960| 20 77 68 65 6e 20 74 68 | 65 20 60 67 6e 75 70 6c | when th|e `gnupl|
|00004970| 6f 74 60 20 64 72 69 76 | 65 72 20 69 73 20 63 68 |ot` driv|er is ch|
|00004980| 61 6e 67 65 64 20 74 6f | 20 61 22 2c 0a 22 20 64 |anged to| a",." d|
|00004990| 69 66 66 65 72 65 6e 74 | 20 64 65 76 69 63 65 2e |ifferent| device.|
|000049a0| 20 20 41 20 70 6c 6f 74 | 20 77 69 6e 64 6f 77 20 | A plot| window |
|000049b0| 63 61 6e 20 62 65 20 63 | 6c 6f 73 65 64 20 62 79 |can be c|losed by|
|000049c0| 20 70 72 65 73 73 69 6e | 67 20 74 68 65 20 6c 65 | pressin|g the le|
|000049d0| 74 74 65 72 20 71 22 2c | 0a 22 20 77 68 69 6c 65 |tter q",|." while|
|000049e0| 20 74 68 61 74 20 77 69 | 6e 64 6f 77 20 68 61 73 | that wi|ndow has|
|000049f0| 20 69 6e 70 75 74 20 66 | 6f 63 75 73 2c 20 6f 72 | input f|ocus, or|
|00004a00| 20 62 79 20 63 68 6f 6f | 73 69 6e 67 20 60 63 6c | by choo|sing `cl|
|00004a10| 6f 73 65 60 20 66 72 6f | 6d 20 61 20 77 69 6e 64 |ose` fro|m a wind|
|00004a20| 6f 77 22 2c 0a 22 20 6d | 61 6e 61 67 65 72 20 6d |ow",." m|anager m|
|00004a30| 65 6e 75 2e 20 20 41 6c | 6c 20 70 6c 6f 74 20 77 |enu. Al|l plot w|
|00004a40| 69 6e 64 6f 77 73 20 63 | 61 6e 20 62 65 20 63 6c |indows c|an be cl|
|00004a50| 6f 73 65 64 20 62 79 20 | 73 70 65 63 69 66 79 69 |osed by |specifyi|
|00004a60| 6e 67 20 60 72 65 73 65 | 74 60 2c 20 77 68 69 63 |ng `rese|t`, whic|
|00004a70| 68 22 2c 0a 22 20 61 63 | 74 75 61 6c 6c 79 20 74 |h",." ac|tually t|
|00004a80| 65 72 6d 69 6e 61 74 65 | 73 20 74 68 65 20 73 75 |erminate|s the su|
|00004a90| 62 70 72 6f 63 65 73 73 | 20 77 68 69 63 68 20 6d |bprocess| which m|
|00004aa0| 61 69 6e 74 61 69 6e 73 | 20 74 68 65 20 77 69 6e |aintains| the win|
|00004ab0| 64 6f 77 73 20 28 75 6e | 6c 65 73 73 22 2c 0a 22 |dows (un|less",."|
|00004ac0| 20 60 2d 70 65 72 73 69 | 73 74 60 20 77 61 73 20 | `-persi|st` was |
|00004ad0| 73 70 65 63 69 66 69 65 | 64 29 2e 22 2c 0a 22 22 |specifie|d).",.""|
|00004ae0| 2c 0a 22 20 50 6c 6f 74 | 20 77 69 6e 64 6f 77 73 |,." Plot| windows|
|00004af0| 20 77 69 6c 6c 20 61 75 | 74 6f 6d 61 74 69 63 61 | will au|tomatica|
|00004b00| 6c 6c 79 20 62 65 20 63 | 6c 6f 73 65 64 20 61 74 |lly be c|losed at|
|00004b10| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 74 68 65 20 | the end| of the |
|00004b20| 73 65 73 73 69 6f 6e 22 | 2c 0a 22 20 75 6e 6c 65 |session"|,." unle|
|00004b30| 73 73 20 74 68 65 20 60 | 2d 70 65 72 73 69 73 74 |ss the `|-persist|
|00004b40| 60 20 6f 70 74 69 6f 6e | 20 77 61 73 20 67 69 76 |` option| was giv|
|00004b50| 65 6e 2e 22 2c 0a 22 22 | 2c 0a 22 20 54 68 65 20 |en.",.""|,." The |
|00004b60| 73 69 7a 65 20 6f 72 20 | 61 73 70 65 63 74 20 72 |size or |aspect r|
|00004b70| 61 74 69 6f 20 6f 66 20 | 61 20 70 6c 6f 74 20 6d |atio of |a plot m|
|00004b80| 61 79 20 62 65 20 63 68 | 61 6e 67 65 64 20 62 79 |ay be ch|anged by|
|00004b90| 20 72 65 73 69 7a 69 6e | 67 20 74 68 65 20 60 67 | resizin|g the `g|
|00004ba0| 6e 75 70 6c 6f 74 60 22 | 2c 0a 22 20 77 69 6e 64 |nuplot`"|,." wind|
|00004bb0| 6f 77 2e 22 2c 0a 22 22 | 2c 0a 22 20 4c 69 6e 65 |ow.",.""|,." Line|
|00004bc0| 77 69 64 74 68 73 20 61 | 6e 64 20 70 6f 69 6e 74 |widths a|nd point|
|00004bd0| 73 69 7a 65 73 20 6d 61 | 79 20 62 65 20 63 68 61 |sizes ma|y be cha|
|00004be0| 6e 67 65 64 20 66 72 6f | 6d 20 77 69 74 68 69 6e |nged fro|m within|
|00004bf0| 20 60 67 6e 75 70 6c 6f | 74 60 20 77 69 74 68 22 | `gnuplo|t` with"|
|00004c00| 2c 0a 22 20 60 73 65 74 | 20 6c 69 6e 65 73 74 79 |,." `set| linesty|
|00004c10| 6c 65 60 2e 22 2c 0a 22 | 22 2c 0a 22 20 46 6f 72 |le`.",."|",." For|
|00004c20| 20 74 65 72 6d 69 6e 61 | 6c 20 74 79 70 65 20 60 | termina|l type `|
|00004c30| 78 31 31 60 2c 20 60 67 | 6e 75 70 6c 6f 74 60 20 |x11`, `g|nuplot` |
|00004c40| 61 63 63 65 70 74 73 20 | 28 77 68 65 6e 20 69 6e |accepts |(when in|
|00004c50| 69 74 69 61 6c 69 7a 65 | 64 29 20 74 68 65 20 73 |itialize|d) the s|
|00004c60| 74 61 6e 64 61 72 64 22 | 2c 0a 22 20 58 20 54 6f |tandard"|,." X To|
|00004c70| 6f 6c 6b 69 74 20 6f 70 | 74 69 6f 6e 73 20 61 6e |olkit op|tions an|
|00004c80| 64 20 72 65 73 6f 75 72 | 63 65 73 20 73 75 63 68 |d resour|ces such|
|00004c90| 20 61 73 20 67 65 6f 6d | 65 74 72 79 2c 20 66 6f | as geom|etry, fo|
|00004ca0| 6e 74 2c 20 61 6e 64 20 | 6e 61 6d 65 20 66 72 6f |nt, and |name fro|
|00004cb0| 6d 20 74 68 65 22 2c 0a | 22 20 63 6f 6d 6d 61 6e |m the",.|" comman|
|00004cc0| 64 20 6c 69 6e 65 20 61 | 72 67 75 6d 65 6e 74 73 |d line a|rguments|
|00004cd0| 20 6f 72 20 61 20 63 6f | 6e 66 69 67 75 72 61 74 | or a co|nfigurat|
|00004ce0| 69 6f 6e 20 66 69 6c 65 | 2e 20 20 53 65 65 20 74 |ion file|. See t|
|00004cf0| 68 65 20 58 28 31 29 20 | 6d 61 6e 20 70 61 67 65 |he X(1) |man page|
|00004d00| 22 2c 0a 22 20 28 6f 72 | 20 69 74 73 20 65 71 75 |",." (or| its equ|
|00004d10| 69 76 61 6c 65 6e 74 29 | 20 66 6f 72 20 61 20 64 |ivalent)| for a d|
|00004d20| 65 73 63 72 69 70 74 69 | 6f 6e 20 6f 66 20 73 75 |escripti|on of su|
|00004d30| 63 68 20 6f 70 74 69 6f | 6e 73 2e 22 2c 0a 22 22 |ch optio|ns.",.""|
|00004d40| 2c 0a 22 20 41 20 6e 75 | 6d 62 65 72 20 6f 66 20 |,." A nu|mber of |
|00004d50| 6f 74 68 65 72 20 60 67 | 6e 75 70 6c 6f 74 60 20 |other `g|nuplot` |
|00004d60| 6f 70 74 69 6f 6e 73 20 | 61 72 65 20 61 76 61 69 |options |are avai|
|00004d70| 6c 61 62 6c 65 20 66 6f | 72 20 74 68 65 20 60 78 |lable fo|r the `x|
|00004d80| 31 31 60 20 74 65 72 6d | 69 6e 61 6c 2e 22 2c 0a |11` term|inal.",.|
|00004d90| 22 20 54 68 65 73 65 20 | 6d 61 79 20 62 65 20 73 |" These |may be s|
|00004da0| 70 65 63 69 66 69 65 64 | 20 65 69 74 68 65 72 20 |pecified| either |
|00004db0| 61 73 20 63 6f 6d 6d 61 | 6e 64 2d 6c 69 6e 65 20 |as comma|nd-line |
|00004dc0| 6f 70 74 69 6f 6e 73 20 | 77 68 65 6e 20 60 67 6e |options |when `gn|
|00004dd0| 75 70 6c 6f 74 60 20 69 | 73 22 2c 0a 22 20 69 6e |uplot` i|s",." in|
|00004de0| 76 6f 6b 65 64 20 6f 72 | 20 61 73 20 72 65 73 6f |voked or| as reso|
|00004df0| 75 72 63 65 73 20 69 6e | 20 74 68 65 20 63 6f 6e |urces in| the con|
|00004e00| 66 69 67 75 72 61 74 69 | 6f 6e 20 66 69 6c 65 20 |figurati|on file |
|00004e10| 5c 22 2f 2e 58 64 65 66 | 61 75 6c 74 73 5c 22 2e |\"/.Xdef|aults\".|
|00004e20| 20 20 54 68 65 79 20 61 | 72 65 22 2c 0a 22 20 73 | They a|re",." s|
|00004e30| 65 74 20 75 70 6f 6e 20 | 69 6e 69 74 69 61 6c 69 |et upon |initiali|
|00004e40| 7a 61 74 69 6f 6e 20 61 | 6e 64 20 63 61 6e 6e 6f |zation a|nd canno|
|00004e50| 74 20 62 65 20 61 6c 74 | 65 72 65 64 20 64 75 72 |t be alt|ered dur|
|00004e60| 69 6e 67 20 61 20 60 67 | 6e 75 70 6c 6f 74 60 20 |ing a `g|nuplot` |
|00004e70| 73 65 73 73 69 6f 6e 2e | 22 2c 0a 22 32 20 63 6f |session.|",."2 co|
|00004e80| 6d 6d 61 6e 64 2d 6c 69 | 6e 65 5f 6f 70 74 69 6f |mmand-li|ne_optio|
|00004e90| 6e 73 22 2c 0a 22 3f 63 | 6f 6d 6d 61 6e 64 73 20 |ns",."?c|ommands |
|00004ea0| 73 65 74 20 74 65 72 6d | 69 6e 61 6c 20 78 31 31 |set term|inal x11|
|00004eb0| 20 63 6f 6d 6d 61 6e 64 | 2d 6c 69 6e 65 2d 6f 70 | command|-line-op|
|00004ec0| 74 69 6f 6e 73 22 2c 0a | 22 3f 73 65 74 20 74 65 |tions",.|"?set te|
|00004ed0| 72 6d 69 6e 61 6c 20 78 | 31 31 20 63 6f 6d 6d 61 |rminal x|11 comma|
|00004ee0| 6e 64 2d 6c 69 6e 65 2d | 6f 70 74 69 6f 6e 73 22 |nd-line-|options"|
|00004ef0| 2c 0a 22 3f 73 65 74 20 | 74 65 72 6d 20 78 31 31 |,."?set |term x11|
|00004f00| 20 63 6f 6d 6d 61 6e 64 | 2d 6c 69 6e 65 2d 6f 70 | command|-line-op|
|00004f10| 74 69 6f 6e 73 22 2c 0a | 22 3f 78 31 31 20 63 6f |tions",.|"?x11 co|
|00004f20| 6d 6d 61 6e 64 2d 6c 69 | 6e 65 2d 6f 70 74 69 6f |mmand-li|ne-optio|
|00004f30| 6e 73 22 2c 0a 22 3f 63 | 6f 6d 6d 61 6e 64 2d 6c |ns",."?c|ommand-l|
|00004f40| 69 6e 65 2d 6f 70 74 69 | 6f 6e 73 22 2c 0a 22 20 |ine-opti|ons",." |
|00004f50| 49 6e 20 61 64 64 69 74 | 69 6f 6e 20 74 6f 20 74 |In addit|ion to t|
|00004f60| 68 65 20 58 20 54 6f 6f | 6c 6b 69 74 20 6f 70 74 |he X Too|lkit opt|
|00004f70| 69 6f 6e 73 2c 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |ions, th|e follow|
|00004f80| 69 6e 67 20 6f 70 74 69 | 6f 6e 73 20 6d 61 79 20 |ing opti|ons may |
|00004f90| 62 65 20 73 70 65 63 69 | 66 69 65 64 22 2c 0a 22 |be speci|fied",."|
|00004fa0| 20 6f 6e 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 | on the |command |
|00004fb0| 6c 69 6e 65 20 77 68 65 | 6e 20 73 74 61 72 74 69 |line whe|n starti|
|00004fc0| 6e 67 20 60 67 6e 75 70 | 6c 6f 74 60 20 6f 72 20 |ng `gnup|lot` or |
|00004fd0| 61 73 20 72 65 73 6f 75 | 72 63 65 73 20 69 6e 20 |as resou|rces in |
|00004fe0| 79 6f 75 72 22 2c 0a 22 | 20 5c 22 2e 58 64 65 66 |your",."| \".Xdef|
|00004ff0| 61 75 6c 74 73 5c 22 20 | 66 69 6c 65 3a 22 2c 0a |aults\" |file:",.|
|00005000| 22 40 73 74 61 72 74 20 | 74 61 62 6c 65 20 2d 20 |"@start |table - |
|00005010| 66 69 72 73 74 20 69 73 | 20 69 6e 74 65 72 61 63 |first is| interac|
|00005020| 74 69 76 65 20 63 6c 65 | 61 72 74 65 78 74 20 66 |tive cle|artext f|
|00005030| 6f 72 6d 22 2c 0a 22 20 | 20 60 2d 63 6c 65 61 72 |orm",." | `-clear|
|00005040| 60 20 20 20 72 65 71 75 | 65 73 74 73 20 74 68 61 |` requ|ests tha|
|00005050| 74 20 74 68 65 20 77 69 | 6e 64 6f 77 20 62 65 20 |t the wi|ndow be |
|00005060| 63 6c 65 61 72 65 64 20 | 6d 6f 6d 65 6e 74 61 72 |cleared |momentar|
|00005070| 69 6c 79 20 62 65 66 6f | 72 65 20 61 22 2c 0a 22 |ily befo|re a",."|
|00005080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6e 65 77 | | new|
|00005090| 20 70 6c 6f 74 20 69 73 | 20 64 69 73 70 6c 61 79 | plot is| display|
|000050a0| 65 64 2e 22 2c 0a 22 20 | 20 60 2d 67 72 61 79 60 |ed.",." | `-gray`|
|000050b0| 20 20 20 20 72 65 71 75 | 65 73 74 73 20 67 72 61 | requ|ests gra|
|000050c0| 79 73 63 61 6c 65 20 72 | 65 6e 64 65 72 69 6e 67 |yscale r|endering|
|000050d0| 20 6f 6e 20 67 72 61 79 | 73 63 61 6c 65 20 6f 72 | on gray|scale or|
|000050e0| 20 63 6f 6c 6f 72 20 64 | 69 73 70 6c 61 79 73 2e | color d|isplays.|
|000050f0| 22 2c 0a 22 20 20 20 20 | 20 20 20 20 20 20 20 20 |",." | |
|00005100| 20 28 47 72 61 79 73 63 | 61 6c 65 20 64 69 73 70 | (Graysc|ale disp|
|00005110| 6c 61 79 73 20 72 65 63 | 65 69 76 65 20 6d 6f 6e |lays rec|eive mon|
|00005120| 6f 63 68 72 6f 6d 65 20 | 72 65 6e 64 65 72 69 6e |ochrome |renderin|
|00005130| 67 20 62 79 20 64 65 66 | 61 75 6c 74 2e 29 22 2c |g by def|ault.)",|
|00005140| 0a 22 20 20 60 2d 6d 6f | 6e 6f 60 20 20 20 20 66 |." `-mo|no` f|
|00005150| 6f 72 63 65 73 20 6d 6f | 6e 6f 63 68 72 6f 6d 65 |orces mo|nochrome|
|00005160| 20 72 65 6e 64 65 72 69 | 6e 67 20 6f 6e 20 63 6f | renderi|ng on co|
|00005170| 6c 6f 72 20 64 69 73 70 | 6c 61 79 73 2e 22 2c 0a |lor disp|lays.",.|
|00005180| 22 20 20 60 2d 70 65 72 | 73 69 73 74 60 20 70 6c |" `-per|sist` pl|
|00005190| 6f 74 20 77 69 6e 64 6f | 77 73 20 73 75 72 76 69 |ot windo|ws survi|
|000051a0| 76 65 20 61 66 74 65 72 | 20 6d 61 69 6e 20 67 6e |ve after| main gn|
|000051b0| 75 70 6c 6f 74 20 70 72 | 6f 67 72 61 6d 20 65 78 |uplot pr|ogram ex|
|000051c0| 69 74 73 22 2c 0a 22 20 | 20 60 2d 72 61 69 73 65 |its",." | `-raise|
|000051d0| 60 20 20 20 72 61 69 73 | 65 20 70 6c 6f 74 20 77 |` rais|e plot w|
|000051e0| 69 6e 64 6f 77 20 61 66 | 74 65 72 20 65 61 63 68 |indow af|ter each|
|000051f0| 20 70 6c 6f 74 22 2c 0a | 22 20 20 60 2d 6e 6f 72 | plot",.|" `-nor|
|00005200| 61 69 73 65 60 20 64 6f | 20 6e 6f 74 20 72 61 69 |aise` do| not rai|
|00005210| 73 65 20 70 6c 6f 74 20 | 77 69 6e 64 6f 77 20 61 |se plot |window a|
|00005220| 66 74 65 72 20 65 61 63 | 68 20 70 6c 6f 74 22 2c |fter eac|h plot",|
|00005230| 0a 22 20 20 60 2d 74 76 | 74 77 6d 60 20 20 20 72 |." `-tv|twm` r|
|00005240| 65 71 75 65 73 74 73 20 | 74 68 61 74 20 67 65 6f |equests |that geo|
|00005250| 6d 65 74 72 79 20 73 70 | 65 63 69 66 69 63 61 74 |metry sp|ecificat|
|00005260| 69 6f 6e 73 20 66 6f 72 | 20 70 6f 73 69 74 69 6f |ions for| positio|
|00005270| 6e 20 6f 66 20 74 68 65 | 22 2c 0a 22 20 20 20 20 |n of the|",." |
|00005280| 20 20 20 20 20 20 20 20 | 20 77 69 6e 64 6f 77 20 | | window |
|00005290| 62 65 20 6d 61 64 65 20 | 72 65 6c 61 74 69 76 65 |be made |relative|
|000052a0| 20 74 6f 20 74 68 65 20 | 63 75 72 72 65 6e 74 6c | to the |currentl|
|000052b0| 79 20 64 69 73 70 6c 61 | 79 65 64 20 70 6f 72 74 |y displa|yed port|
|000052c0| 69 6f 6e 22 2c 0a 22 20 | 20 20 20 20 20 20 20 20 |ion",." | |
|000052d0| 20 20 20 20 6f 66 20 74 | 68 65 20 76 69 72 74 75 | of t|he virtu|
|000052e0| 61 6c 20 72 6f 6f 74 2e | 22 2c 0a 22 23 5c 5c 62 |al root.|",."#\\b|
|000052f0| 65 67 69 6e 7b 74 61 62 | 75 6c 61 72 7d 7b 7c 63 |egin{tab|ular}{|c|
|00005300| 6c 7c 7d 20 5c 5c 68 6c | 69 6e 65 22 2c 0a 22 23 |l|} \\hl|ine",."#|
|00005310| 60 2d 6d 6f 6e 6f 60 20 | 20 26 20 66 6f 72 63 65 |`-mono` | & force|
|00005320| 73 20 6d 6f 6e 6f 63 68 | 72 6f 6d 65 20 72 65 6e |s monoch|rome ren|
|00005330| 64 65 72 69 6e 67 20 6f | 6e 20 63 6f 6c 6f 72 20 |dering o|n color |
|00005340| 64 69 73 70 6c 61 79 73 | 2e 5c 5c 5c 5c 22 2c 0a |displays|.\\\\",.|
|00005350| 22 23 60 2d 67 72 61 79 | 60 20 20 26 20 72 65 71 |"#`-gray|` & req|
|00005360| 75 65 73 74 73 20 67 72 | 61 79 73 63 61 6c 65 20 |uests gr|ayscale |
|00005370| 72 65 6e 64 65 72 69 6e | 67 20 6f 6e 20 67 72 61 |renderin|g on gra|
|00005380| 79 73 63 61 6c 65 20 6f | 72 20 63 6f 6c 6f 72 20 |yscale o|r color |
|00005390| 64 69 73 70 6c 61 79 73 | 2e 5c 5c 5c 5c 22 2c 0a |displays|.\\\\",.|
|000053a0| 22 23 20 20 20 20 20 20 | 20 20 20 26 20 28 47 72 |"# | & (Gr|
|000053b0| 61 79 73 63 61 6c 65 20 | 64 69 73 70 6c 61 79 73 |ayscale |displays|
|000053c0| 20 72 65 63 65 69 76 65 | 20 6d 6f 6e 6f 63 68 72 | receive| monochr|
|000053d0| 6f 6d 65 20 72 65 6e 64 | 65 72 69 6e 67 20 62 79 |ome rend|ering by|
|000053e0| 20 64 65 66 61 75 6c 74 | 2e 29 20 5c 5c 5c 5c 22 | default|.) \\\\"|
|000053f0| 2c 0a 22 23 60 2d 63 6c | 65 61 72 60 20 26 20 72 |,."#`-cl|ear` & r|
|00005400| 65 71 75 65 73 74 73 20 | 74 68 61 74 20 74 68 65 |equests |that the|
|00005410| 20 77 69 6e 64 6f 77 20 | 62 65 20 63 6c 65 61 72 | window |be clear|
|00005420| 65 64 20 6d 6f 6d 65 6e | 74 61 72 69 6c 79 20 62 |ed momen|tarily b|
|00005430| 65 66 6f 72 65 20 61 5c | 5c 5c 5c 22 2c 0a 22 23 |efore a\|\\\",."#|
|00005440| 20 20 20 20 20 20 20 20 | 20 26 20 6e 65 77 20 70 | | & new p|
|00005450| 6c 6f 74 20 69 73 20 64 | 69 73 70 6c 61 79 65 64 |lot is d|isplayed|
|00005460| 2e 20 5c 5c 5c 5c 22 2c | 0a 22 23 60 2d 74 76 74 |. \\\\",|."#`-tvt|
|00005470| 77 6d 60 20 26 20 72 65 | 71 75 65 73 74 73 20 74 |wm` & re|quests t|
|00005480| 68 61 74 20 67 65 6f 6d | 65 74 72 79 20 73 70 65 |hat geom|etry spe|
|00005490| 63 69 66 69 63 61 74 69 | 6f 6e 73 20 66 6f 72 20 |cificati|ons for |
|000054a0| 70 6f 73 69 74 69 6f 6e | 20 6f 66 20 74 68 65 5c |position| of the\|
|000054b0| 5c 5c 5c 22 2c 0a 22 23 | 20 20 20 20 20 20 20 20 |\\\",."#| |
|000054c0| 20 26 20 77 69 6e 64 6f | 77 20 62 65 20 6d 61 64 | & windo|w be mad|
|000054d0| 65 20 72 65 6c 61 74 69 | 76 65 20 74 6f 20 74 68 |e relati|ve to th|
|000054e0| 65 20 63 75 72 72 65 6e | 74 6c 79 20 64 69 73 70 |e curren|tly disp|
|000054f0| 6c 61 79 65 64 20 70 6f | 72 74 69 6f 6e 5c 5c 5c |layed po|rtion\\\|
|00005500| 5c 22 2c 0a 22 23 20 20 | 20 20 20 20 20 20 20 26 |\",."# | &|
|00005510| 20 6f 66 20 74 68 65 20 | 76 69 72 74 75 61 6c 20 | of the |virtual |
|00005520| 72 6f 6f 74 2e 20 5c 5c | 5c 5c 22 2c 0a 22 23 60 |root. \\|\\",."#`|
|00005530| 2d 72 61 69 73 65 60 20 | 26 20 72 61 69 73 65 20 |-raise` |& raise |
|00005540| 70 6c 6f 74 20 77 69 6e | 64 6f 77 20 61 66 74 65 |plot win|dow afte|
|00005550| 72 20 65 61 63 68 20 70 | 6c 6f 74 2e 20 5c 5c 5c |r each p|lot. \\\|
|00005560| 5c 22 2c 0a 22 23 60 2d | 6e 6f 72 61 69 73 65 60 |\",."#`-|noraise`|
|00005570| 20 26 20 64 6f 20 6e 6f | 74 20 72 61 69 73 65 20 | & do no|t raise |
|00005580| 70 6c 6f 74 20 77 69 6e | 64 6f 77 20 61 66 74 65 |plot win|dow afte|
|00005590| 72 20 65 61 63 68 20 70 | 6c 6f 74 2e 20 5c 5c 5c |r each p|lot. \\\|
|000055a0| 5c 22 2c 0a 22 23 60 2d | 70 65 72 73 69 73 74 60 |\",."#`-|persist`|
|000055b0| 26 70 6c 6f 74 20 77 69 | 6e 64 6f 77 73 20 73 75 |&plot wi|ndows su|
|000055c0| 72 76 69 76 65 20 61 66 | 74 65 72 20 6d 61 69 6e |rvive af|ter main|
|000055d0| 20 67 6e 75 70 6c 6f 74 | 20 70 72 6f 67 72 61 6d | gnuplot| program|
|000055e0| 20 65 78 69 74 73 2e 20 | 5c 5c 5c 5c 22 2c 0a 22 | exits. |\\\\",."|
|000055f0| 25 63 20 6c 20 2e 22 2c | 0a 22 25 60 2d 6d 6f 6e |%c l .",|."%`-mon|
|00005600| 6f 60 40 66 6f 72 63 65 | 73 20 6d 6f 6e 6f 63 68 |o`@force|s monoch|
|00005610| 72 6f 6d 65 20 72 65 6e | 64 65 72 69 6e 67 20 6f |rome ren|dering o|
|00005620| 6e 20 63 6f 6c 6f 72 20 | 64 69 73 70 6c 61 79 73 |n color |displays|
|00005630| 2e 22 2c 0a 22 25 60 2d | 67 72 61 79 60 40 72 65 |.",."%`-|gray`@re|
|00005640| 71 75 65 73 74 73 20 67 | 72 61 79 73 63 61 6c 65 |quests g|rayscale|
|00005650| 20 72 65 6e 64 65 72 69 | 6e 67 20 6f 6e 20 67 72 | renderi|ng on gr|
|00005660| 61 79 73 63 61 6c 65 20 | 6f 72 20 63 6f 6c 6f 72 |ayscale |or color|
|00005670| 20 64 69 73 70 6c 61 79 | 73 2e 22 2c 0a 22 25 20 | display|s.",."% |
|00005680| 20 20 20 20 20 20 40 28 | 47 72 61 79 73 63 61 6c | @(|Grayscal|
|00005690| 65 20 64 69 73 70 6c 61 | 79 73 20 72 65 63 65 69 |e displa|ys recei|
|000056a0| 76 65 20 6d 6f 6e 6f 63 | 68 72 6f 6d 65 20 72 65 |ve monoc|hrome re|
|000056b0| 6e 64 65 72 69 6e 67 20 | 62 79 20 64 65 66 61 75 |ndering |by defau|
|000056c0| 6c 74 2e 29 22 2c 0a 22 | 25 60 2d 63 6c 65 61 72 |lt.)",."|%`-clear|
|000056d0| 60 40 72 65 71 75 65 73 | 74 73 20 74 68 61 74 20 |`@reques|ts that |
|000056e0| 74 68 65 20 77 69 6e 64 | 6f 77 20 62 65 20 63 6c |the wind|ow be cl|
|000056f0| 65 61 72 65 64 20 6d 6f | 6d 65 6e 74 61 72 69 6c |eared mo|mentaril|
|00005700| 79 20 62 65 66 6f 72 65 | 20 61 22 2c 0a 22 25 20 |y before| a",."% |
|00005710| 20 20 20 20 20 20 20 40 | 6e 65 77 20 70 6c 6f 74 | @|new plot|
|00005720| 20 69 73 20 64 69 73 70 | 6c 61 79 65 64 2e 22 2c | is disp|layed.",|
|00005730| 0a 22 25 60 2d 74 76 74 | 77 6d 60 40 72 65 71 75 |."%`-tvt|wm`@requ|
|00005740| 65 73 74 73 20 74 68 61 | 74 20 67 65 6f 6d 65 74 |ests tha|t geomet|
|00005750| 72 79 20 73 70 65 63 69 | 66 69 63 61 74 69 6f 6e |ry speci|fication|
|00005760| 73 20 66 6f 72 20 70 6f | 73 69 74 69 6f 6e 20 6f |s for po|sition o|
|00005770| 66 20 74 68 65 22 2c 0a | 22 25 20 20 20 20 20 20 |f the",.|"% |
|00005780| 20 20 40 77 69 6e 64 6f | 77 20 62 65 20 6d 61 64 | @windo|w be mad|
|00005790| 65 20 72 65 6c 61 74 69 | 76 65 20 74 6f 20 74 68 |e relati|ve to th|
|000057a0| 65 20 63 75 72 72 65 6e | 74 6c 79 20 64 69 73 70 |e curren|tly disp|
|000057b0| 6c 61 79 65 64 20 70 6f | 72 74 69 6f 6e 22 2c 0a |layed po|rtion",.|
|000057c0| 22 25 20 20 20 20 20 20 | 20 20 40 6f 66 20 74 68 |"% | @of th|
|000057d0| 65 20 76 69 72 74 75 61 | 6c 20 72 6f 6f 74 2e 22 |e virtua|l root."|
|000057e0| 2c 0a 22 25 60 2d 72 61 | 69 73 65 60 40 72 61 69 |,."%`-ra|ise`@rai|
|000057f0| 73 65 20 70 6c 6f 74 20 | 77 69 6e 64 6f 77 20 61 |se plot |window a|
|00005800| 66 74 65 72 20 65 61 63 | 68 20 70 6c 6f 74 22 2c |fter eac|h plot",|
|00005810| 0a 22 25 60 2d 6e 6f 72 | 61 69 73 65 60 40 64 6f |."%`-nor|aise`@do|
|00005820| 20 6e 6f 74 20 72 61 69 | 73 65 20 70 6c 6f 74 20 | not rai|se plot |
|00005830| 77 69 6e 64 6f 77 20 61 | 66 74 65 72 20 65 61 63 |window a|fter eac|
|00005840| 68 20 70 6c 6f 74 22 2c | 0a 22 25 60 2d 70 65 72 |h plot",|."%`-per|
|00005850| 73 69 73 74 60 40 70 6c | 6f 74 20 77 69 6e 64 6f |sist`@pl|ot windo|
|00005860| 77 73 20 73 75 72 76 69 | 76 65 20 61 66 74 65 72 |ws survi|ve after|
|00005870| 20 6d 61 69 6e 20 67 6e | 75 70 6c 6f 74 20 70 72 | main gn|uplot pr|
|00005880| 6f 67 72 61 6d 20 65 78 | 69 74 73 22 2c 0a 22 40 |ogram ex|its",."@|
|00005890| 65 6e 64 20 74 61 62 6c | 65 22 2c 0a 22 20 54 68 |end tabl|e",." Th|
|000058a0| 65 20 6f 70 74 69 6f 6e | 73 20 61 72 65 20 73 68 |e option|s are sh|
|000058b0| 6f 77 6e 20 61 62 6f 76 | 65 20 69 6e 20 74 68 65 |own abov|e in the|
|000058c0| 69 72 20 63 6f 6d 6d 61 | 6e 64 2d 6c 69 6e 65 20 |ir comma|nd-line |
|000058d0| 73 79 6e 74 61 78 2e 20 | 20 57 68 65 6e 20 65 6e |syntax. | When en|
|000058e0| 74 65 72 65 64 20 61 73 | 22 2c 0a 22 20 72 65 73 |tered as|",." res|
|000058f0| 6f 75 72 63 65 73 20 69 | 6e 20 5c 22 2e 58 64 65 |ources i|n \".Xde|
|00005900| 66 61 75 6c 74 73 5c 22 | 2c 20 74 68 65 79 20 72 |faults\"|, they r|
|00005910| 65 71 75 69 72 65 20 61 | 20 64 69 66 66 65 72 65 |equire a| differe|
|00005920| 6e 74 20 73 79 6e 74 61 | 78 2e 22 2c 0a 22 22 2c |nt synta|x.",."",|
|00005930| 0a 22 20 45 78 61 6d 70 | 6c 65 3a 22 2c 0a 22 20 |." Examp|le:",." |
|00005940| 20 20 20 20 20 20 67 6e | 75 70 6c 6f 74 2a 67 72 | gn|uplot*gr|
|00005950| 61 79 3a 20 6f 6e 22 2c | 0a 22 22 2c 0a 22 20 60 |ay: on",|."",." `|
|00005960| 67 6e 75 70 6c 6f 74 60 | 20 61 6c 73 6f 20 70 72 |gnuplot`| also pr|
|00005970| 6f 76 69 64 65 73 20 61 | 20 63 6f 6d 6d 61 6e 64 |ovides a| command|
|00005980| 20 6c 69 6e 65 20 6f 70 | 74 69 6f 6e 20 28 60 2d | line op|tion (`-|
|00005990| 70 6f 69 6e 74 73 69 7a | 65 20 3c 76 3e 60 29 20 |pointsiz|e <v>`) |
|000059a0| 61 6e 64 20 61 22 2c 0a | 22 20 72 65 73 6f 75 72 |and a",.|" resour|
|000059b0| 63 65 2c 20 60 67 6e 75 | 70 6c 6f 74 2a 70 6f 69 |ce, `gnu|plot*poi|
|000059c0| 6e 74 73 69 7a 65 3a 20 | 3c 76 3e 60 2c 20 74 6f |ntsize: |<v>`, to|
|000059d0| 20 63 6f 6e 74 72 6f 6c | 20 74 68 65 20 73 69 7a | control| the siz|
|000059e0| 65 20 6f 66 20 70 6f 69 | 6e 74 73 20 70 6c 6f 74 |e of poi|nts plot|
|000059f0| 74 65 64 22 2c 0a 22 20 | 77 69 74 68 20 74 68 65 |ted",." |with the|
|00005a00| 20 60 70 6f 69 6e 74 73 | 60 20 70 6c 6f 74 74 69 | `points|` plotti|
|00005a10| 6e 67 20 73 74 79 6c 65 | 2e 20 20 54 68 65 20 76 |ng style|. The v|
|00005a20| 61 6c 75 65 20 60 76 60 | 20 69 73 20 61 20 72 65 |alue `v`| is a re|
|00005a30| 61 6c 20 6e 75 6d 62 65 | 72 20 28 67 72 65 61 74 |al numbe|r (great|
|00005a40| 65 72 22 2c 0a 22 20 74 | 68 61 6e 20 30 20 61 6e |er",." t|han 0 an|
|00005a50| 64 20 6c 65 73 73 20 74 | 68 61 6e 20 6f 72 20 65 |d less t|han or e|
|00005a60| 71 75 61 6c 20 74 6f 20 | 74 65 6e 29 20 75 73 65 |qual to |ten) use|
|00005a70| 64 20 61 73 20 61 20 73 | 63 61 6c 69 6e 67 20 66 |d as a s|caling f|
|00005a80| 61 63 74 6f 72 20 66 6f | 72 20 70 6f 69 6e 74 22 |actor fo|r point"|
|00005a90| 2c 0a 22 20 73 69 7a 65 | 73 2e 20 20 46 6f 72 20 |,." size|s. For |
|00005aa0| 65 78 61 6d 70 6c 65 2c | 20 60 2d 70 6f 69 6e 74 |example,| `-point|
|00005ab0| 73 69 7a 65 20 32 60 20 | 75 73 65 73 20 70 6f 69 |size 2` |uses poi|
|00005ac0| 6e 74 73 20 74 77 69 63 | 65 20 74 68 65 20 64 65 |nts twic|e the de|
|00005ad0| 66 61 75 6c 74 20 73 69 | 7a 65 2c 20 61 6e 64 22 |fault si|ze, and"|
|00005ae0| 2c 0a 22 20 60 2d 70 6f | 69 6e 74 73 69 7a 65 20 |,." `-po|intsize |
|00005af0| 30 2e 35 60 20 75 73 65 | 73 20 70 6f 69 6e 74 73 |0.5` use|s points|
|00005b00| 20 68 61 6c 66 20 74 68 | 65 20 6e 6f 72 6d 61 6c | half th|e normal|
|00005b10| 20 73 69 7a 65 2e 22 2c | 0a 22 32 20 6d 6f 6e 6f | size.",|."2 mono|
|00005b20| 63 68 6f 6d 65 5f 6f 70 | 74 69 6f 6e 73 22 2c 0a |chome_op|tions",.|
|00005b30| 22 3f 63 6f 6d 6d 61 6e | 64 73 20 73 65 74 20 74 |"?comman|ds set t|
|00005b40| 65 72 6d 69 6e 61 6c 20 | 78 31 31 20 6d 6f 6e 6f |erminal |x11 mono|
|00005b50| 63 68 72 6f 6d 65 5f 6f | 70 74 69 6f 6e 73 22 2c |chrome_o|ptions",|
|00005b60| 0a 22 3f 73 65 74 20 74 | 65 72 6d 69 6e 61 6c 20 |."?set t|erminal |
|00005b70| 78 31 31 20 6d 6f 6e 6f | 63 68 72 6f 6d 65 5f 6f |x11 mono|chrome_o|
|00005b80| 70 74 69 6f 6e 73 22 2c | 0a 22 3f 73 65 74 20 74 |ptions",|."?set t|
|00005b90| 65 72 6d 20 78 31 31 20 | 6d 6f 6e 6f 63 68 72 6f |erm x11 |monochro|
|00005ba0| 6d 65 5f 6f 70 74 69 6f | 6e 73 22 2c 0a 22 3f 78 |me_optio|ns",."?x|
|00005bb0| 31 31 20 6d 6f 6e 6f 63 | 68 72 6f 6d 65 5f 6f 70 |11 monoc|hrome_op|
|00005bc0| 74 69 6f 6e 73 22 2c 0a | 22 3f 6d 6f 6e 6f 63 68 |tions",.|"?monoch|
|00005bd0| 72 6f 6d 65 5f 6f 70 74 | 69 6f 6e 73 22 2c 0a 22 |rome_opt|ions",."|
|00005be0| 20 46 6f 72 20 6d 6f 6e | 6f 63 68 72 6f 6d 65 20 | For mon|ochrome |
|00005bf0| 64 69 73 70 6c 61 79 73 | 2c 20 60 67 6e 75 70 6c |displays|, `gnupl|
|00005c00| 6f 74 60 20 64 6f 65 73 | 20 6e 6f 74 20 68 6f 6e |ot` does| not hon|
|00005c10| 6f 72 20 66 6f 72 65 67 | 72 6f 75 6e 64 20 6f 72 |or foreg|round or|
|00005c20| 20 62 61 63 6b 67 72 6f | 75 6e 64 22 2c 0a 22 20 | backgro|und",." |
|00005c30| 63 6f 6c 6f 72 73 2e 20 | 20 54 68 65 20 64 65 66 |colors. | The def|
|00005c40| 61 75 6c 74 20 69 73 20 | 62 6c 61 63 6b 2d 6f 6e |ault is |black-on|
|00005c50| 2d 77 68 69 74 65 2e 20 | 20 60 2d 72 76 60 20 6f |-white. | `-rv` o|
|00005c60| 72 20 60 67 6e 75 70 6c | 6f 74 2a 72 65 76 65 72 |r `gnupl|ot*rever|
|00005c70| 73 65 56 69 64 65 6f 3a | 20 6f 6e 60 22 2c 0a 22 |seVideo:| on`",."|
|00005c80| 20 72 65 71 75 65 73 74 | 73 20 77 68 69 74 65 2d | request|s white-|
|00005c90| 6f 6e 2d 62 6c 61 63 6b | 2e 22 2c 0a 22 22 2c 0a |on-black|.",."",.|
|00005ca0| 22 32 20 63 6f 6c 6f 72 | 5f 72 65 73 6f 75 72 63 |"2 color|_resourc|
|00005cb0| 65 73 22 2c 0a 22 3f 63 | 6f 6d 6d 61 6e 64 73 20 |es",."?c|ommands |
|00005cc0| 73 65 74 20 74 65 72 6d | 69 6e 61 6c 20 78 31 31 |set term|inal x11|
|00005cd0| 20 63 6f 6c 6f 72 5f 72 | 65 73 6f 75 72 63 65 73 | color_r|esources|
|00005ce0| 22 2c 0a 22 3f 73 65 74 | 20 74 65 72 6d 69 6e 61 |",."?set| termina|
|00005cf0| 6c 20 78 31 31 20 63 6f | 6c 6f 72 5f 72 65 73 6f |l x11 co|lor_reso|
|00005d00| 75 72 63 65 73 22 2c 0a | 22 3f 73 65 74 20 74 65 |urces",.|"?set te|
|00005d10| 72 6d 20 78 31 31 20 63 | 6f 6c 6f 72 5f 72 65 73 |rm x11 c|olor_res|
|00005d20| 6f 75 72 63 65 73 22 2c | 0a 22 3f 78 31 31 20 63 |ources",|."?x11 c|
|00005d30| 6f 6c 6f 72 5f 72 65 73 | 6f 75 72 63 65 73 22 2c |olor_res|ources",|
|00005d40| 0a 22 3f 63 6f 6c 6f 72 | 5f 72 65 73 6f 75 72 63 |."?color|_resourc|
|00005d50| 65 73 22 2c 0a 22 20 46 | 6f 72 20 63 6f 6c 6f 72 |es",." F|or color|
|00005d60| 20 64 69 73 70 6c 61 79 | 73 2c 20 60 67 6e 75 70 | display|s, `gnup|
|00005d70| 6c 6f 74 60 20 68 6f 6e | 6f 72 73 20 74 68 65 20 |lot` hon|ors the |
|00005d80| 66 6f 6c 6c 6f 77 69 6e | 67 20 72 65 73 6f 75 72 |followin|g resour|
|00005d90| 63 65 73 20 28 73 68 6f | 77 6e 20 68 65 72 65 22 |ces (sho|wn here"|
|00005da0| 2c 0a 22 20 77 69 74 68 | 20 74 68 65 69 72 20 64 |,." with| their d|
|00005db0| 65 66 61 75 6c 74 20 76 | 61 6c 75 65 73 29 20 6f |efault v|alues) o|
|00005dc0| 72 20 74 68 65 20 67 72 | 65 79 73 63 61 6c 65 20 |r the gr|eyscale |
|00005dd0| 72 65 73 6f 75 72 63 65 | 73 2e 20 20 54 68 65 20 |resource|s. The |
|00005de0| 76 61 6c 75 65 73 20 6d | 61 79 20 62 65 22 2c 0a |values m|ay be",.|
|00005df0| 22 20 63 6f 6c 6f 72 20 | 6e 61 6d 65 73 20 61 73 |" color |names as|
|00005e00| 20 6c 69 73 74 65 64 20 | 69 6e 20 74 68 65 20 58 | listed |in the X|
|00005e10| 31 31 20 72 67 62 2e 74 | 78 74 20 66 69 6c 65 20 |11 rgb.t|xt file |
|00005e20| 6f 6e 20 79 6f 75 72 20 | 73 79 73 74 65 6d 2c 20 |on your |system, |
|00005e30| 68 65 78 61 64 65 63 69 | 6d 61 6c 22 2c 0a 22 20 |hexadeci|mal",." |
|00005e40| 52 47 42 20 63 6f 6c 6f | 72 20 73 70 65 63 69 66 |RGB colo|r specif|
|00005e50| 69 63 61 74 69 6f 6e 73 | 20 28 73 65 65 20 58 31 |ications| (see X1|
|00005e60| 31 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 29 |1 docume|ntation)|
|00005e70| 2c 20 6f 72 20 61 20 63 | 6f 6c 6f 72 20 6e 61 6d |, or a c|olor nam|
|00005e80| 65 20 66 6f 6c 6c 6f 77 | 65 64 22 2c 0a 22 20 62 |e follow|ed",." b|
|00005e90| 79 20 61 20 63 6f 6d 6d | 61 20 61 6e 64 20 61 6e |y a comm|a and an|
|00005ea0| 20 60 69 6e 74 65 6e 73 | 69 74 79 60 20 76 61 6c | `intens|ity` val|
|00005eb0| 75 65 20 66 72 6f 6d 20 | 30 20 74 6f 20 31 2e 20 |ue from |0 to 1. |
|00005ec0| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 60 62 | For exa|mple, `b|
|00005ed0| 6c 75 65 2c 20 30 2e 35 | 60 22 2c 0a 22 20 6d 65 |lue, 0.5|`",." me|
|00005ee0| 61 6e 73 20 61 20 68 61 | 6c 66 20 69 6e 74 65 6e |ans a ha|lf inten|
|00005ef0| 73 69 74 79 20 62 6c 75 | 65 2e 22 2c 0a 22 40 73 |sity blu|e.",."@s|
|00005f00| 74 61 72 74 20 74 61 62 | 6c 65 20 2d 20 66 69 72 |tart tab|le - fir|
|00005f10| 73 74 20 69 73 20 69 6e | 74 65 72 61 63 74 69 76 |st is in|teractiv|
|00005f20| 65 20 63 6c 65 61 72 74 | 65 78 74 20 66 6f 72 6d |e cleart|ext form|
|00005f30| 22 2c 0a 22 20 20 67 6e | 75 70 6c 6f 74 2a 62 61 |",." gn|uplot*ba|
|00005f40| 63 6b 67 72 6f 75 6e 64 | 3a 20 20 77 68 69 74 65 |ckground|: white|
|00005f50| 22 2c 0a 22 20 20 67 6e | 75 70 6c 6f 74 2a 74 65 |",." gn|uplot*te|
|00005f60| 78 74 43 6f 6c 6f 72 3a | 20 20 20 62 6c 61 63 6b |xtColor:| black|
|00005f70| 22 2c 0a 22 20 20 67 6e | 75 70 6c 6f 74 2a 62 6f |",." gn|uplot*bo|
|00005f80| 72 64 65 72 43 6f 6c 6f | 72 3a 20 62 6c 61 63 6b |rderColo|r: black|
|00005f90| 22 2c 0a 22 20 20 67 6e | 75 70 6c 6f 74 2a 61 78 |",." gn|uplot*ax|
|00005fa0| 69 73 43 6f 6c 6f 72 3a | 20 20 20 62 6c 61 63 6b |isColor:| black|
|00005fb0| 22 2c 0a 22 20 20 67 6e | 75 70 6c 6f 74 2a 6c 69 |",." gn|uplot*li|
|00005fc0| 6e 65 31 43 6f 6c 6f 72 | 3a 20 20 72 65 64 22 2c |ne1Color|: red",|
|00005fd0| 0a 22 20 20 67 6e 75 70 | 6c 6f 74 2a 6c 69 6e 65 |." gnup|lot*line|
|00005fe0| 32 43 6f 6c 6f 72 3a 20 | 20 67 72 65 65 6e 22 2c |2Color: | green",|
|00005ff0| 0a 22 20 20 67 6e 75 70 | 6c 6f 74 2a 6c 69 6e 65 |." gnup|lot*line|
|00006000| 33 43 6f 6c 6f 72 3a 20 | 20 62 6c 75 65 22 2c 0a |3Color: | blue",.|
|00006010| 22 20 20 67 6e 75 70 6c | 6f 74 2a 6c 69 6e 65 34 |" gnupl|ot*line4|
|00006020| 43 6f 6c 6f 72 3a 20 20 | 6d 61 67 65 6e 74 61 22 |Color: |magenta"|
|00006030| 2c 0a 22 20 20 67 6e 75 | 70 6c 6f 74 2a 6c 69 6e |,." gnu|plot*lin|
|00006040| 65 35 43 6f 6c 6f 72 3a | 20 20 63 79 61 6e 22 2c |e5Color:| cyan",|
|00006050| 0a 22 20 20 67 6e 75 70 | 6c 6f 74 2a 6c 69 6e 65 |." gnup|lot*line|
|00006060| 36 43 6f 6c 6f 72 3a 20 | 20 73 69 65 6e 6e 61 22 |6Color: | sienna"|
|00006070| 2c 0a 22 20 20 67 6e 75 | 70 6c 6f 74 2a 6c 69 6e |,." gnu|plot*lin|
|00006080| 65 37 43 6f 6c 6f 72 3a | 20 20 6f 72 61 6e 67 65 |e7Color:| orange|
|00006090| 22 2c 0a 22 20 20 67 6e | 75 70 6c 6f 74 2a 6c 69 |",." gn|uplot*li|
|000060a0| 6e 65 38 43 6f 6c 6f 72 | 3a 20 20 63 6f 72 61 6c |ne8Color|: coral|
|000060b0| 22 2c 0a 22 23 5c 5c 62 | 65 67 69 6e 7b 74 61 62 |",."#\\b|egin{tab|
|000060c0| 75 6c 61 72 7d 7b 7c 63 | 6c 7c 7d 20 5c 5c 68 6c |ular}{|c|l|} \\hl|
|000060d0| 69 6e 65 22 2c 0a 22 23 | 26 67 6e 75 70 6c 6f 74 |ine",."#|&gnuplot|
|000060e0| 2a 62 61 63 6b 67 72 6f | 75 6e 64 3a 20 77 68 69 |*backgro|und: whi|
|000060f0| 74 65 5c 5c 5c 5c 22 2c | 0a 22 23 26 67 6e 75 70 |te\\\\",|."#&gnup|
|00006100| 6c 6f 74 2a 74 65 78 74 | 43 6f 6c 6f 72 3a 20 62 |lot*text|Color: b|
|00006110| 6c 61 63 6b 5c 5c 5c 5c | 22 2c 0a 22 23 26 67 6e |lack\\\\|",."#&gn|
|00006120| 75 70 6c 6f 74 2a 62 6f | 72 64 65 72 43 6f 6c 6f |uplot*bo|rderColo|
|00006130| 72 3a 20 62 6c 61 63 6b | 5c 5c 5c 5c 22 2c 0a 22 |r: black|\\\\",."|
|00006140| 23 26 67 6e 75 70 6c 6f | 74 2a 61 78 69 73 43 6f |#&gnuplo|t*axisCo|
|00006150| 6c 6f 72 3a 20 62 6c 61 | 63 6b 5c 5c 5c 5c 22 2c |lor: bla|ck\\\\",|
|00006160| 0a 22 23 26 67 6e 75 70 | 6c 6f 74 2a 6c 69 6e 65 |."#&gnup|lot*line|
|00006170| 31 43 6f 6c 6f 72 3a 20 | 72 65 64 5c 5c 5c 5c 22 |1Color: |red\\\\"|
|00006180| 2c 0a 22 23 26 67 6e 75 | 70 6c 6f 74 2a 6c 69 6e |,."#&gnu|plot*lin|
|00006190| 65 32 43 6f 6c 6f 72 3a | 20 67 72 65 65 6e 5c 5c |e2Color:| green\\|
|000061a0| 5c 5c 22 2c 0a 22 23 26 | 67 6e 75 70 6c 6f 74 2a |\\",."#&|gnuplot*|
|000061b0| 6c 69 6e 65 33 43 6f 6c | 6f 72 3a 20 62 6c 75 65 |line3Col|or: blue|
|000061c0| 5c 5c 5c 5c 22 2c 0a 22 | 23 26 67 6e 75 70 6c 6f |\\\\",."|#&gnuplo|
|000061d0| 74 2a 6c 69 6e 65 34 43 | 6f 6c 6f 72 3a 20 6d 61 |t*line4C|olor: ma|
|000061e0| 67 65 6e 74 61 5c 5c 5c | 5c 22 2c 0a 22 23 26 67 |genta\\\|\",."#&g|
|000061f0| 6e 75 70 6c 6f 74 2a 6c | 69 6e 65 35 43 6f 6c 6f |nuplot*l|ine5Colo|
|00006200| 72 3a 20 63 79 61 6e 5c | 5c 5c 5c 22 2c 0a 22 23 |r: cyan\|\\\",."#|
|00006210| 26 67 6e 75 70 6c 6f 74 | 2a 6c 69 6e 65 36 43 6f |&gnuplot|*line6Co|
|00006220| 6c 6f 72 3a 20 73 69 65 | 6e 6e 61 5c 5c 5c 5c 22 |lor: sie|nna\\\\"|
|00006230| 2c 0a 22 23 26 67 6e 75 | 70 6c 6f 74 2a 6c 69 6e |,."#&gnu|plot*lin|
|00006240| 65 37 43 6f 6c 6f 72 3a | 20 6f 72 61 6e 67 65 5c |e7Color:| orange\|
|00006250| 5c 5c 5c 22 2c 0a 22 23 | 26 67 6e 75 70 6c 6f 74 |\\\",."#|&gnuplot|
|00006260| 2a 6c 69 6e 65 38 43 6f | 6c 6f 72 3a 20 63 6f 72 |*line8Co|lor: cor|
|00006270| 61 6c 5c 5c 5c 5c 22 2c | 0a 22 25 63 20 6c 20 2e |al\\\\",|."%c l .|
|00006280| 22 2c 0a 22 25 40 67 6e | 75 70 6c 6f 74 2a 62 61 |",."%@gn|uplot*ba|
|00006290| 63 6b 67 72 6f 75 6e 64 | 3a 20 77 68 69 74 65 22 |ckground|: white"|
|000062a0| 2c 0a 22 25 40 67 6e 75 | 70 6c 6f 74 2a 74 65 78 |,."%@gnu|plot*tex|
|000062b0| 74 43 6f 6c 6f 72 3a 20 | 62 6c 61 63 6b 22 2c 0a |tColor: |black",.|
|000062c0| 22 25 40 67 6e 75 70 6c | 6f 74 2a 62 6f 72 64 65 |"%@gnupl|ot*borde|
|000062d0| 72 43 6f 6c 6f 72 3a 20 | 62 6c 61 63 6b 22 2c 0a |rColor: |black",.|
|000062e0| 22 25 40 67 6e 75 70 6c | 6f 74 2a 61 78 69 73 43 |"%@gnupl|ot*axisC|
|000062f0| 6f 6c 6f 72 3a 20 62 6c | 61 63 6b 22 2c 0a 22 25 |olor: bl|ack",."%|
|00006300| 40 67 6e 75 70 6c 6f 74 | 2a 6c 69 6e 65 31 43 6f |@gnuplot|*line1Co|
|00006310| 6c 6f 72 3a 20 72 65 64 | 22 2c 0a 22 25 40 67 6e |lor: red|",."%@gn|
|00006320| 75 70 6c 6f 74 2a 6c 69 | 6e 65 32 43 6f 6c 6f 72 |uplot*li|ne2Color|
|00006330| 3a 20 67 72 65 65 6e 22 | 2c 0a 22 25 40 67 6e 75 |: green"|,."%@gnu|
|00006340| 70 6c 6f 74 2a 6c 69 6e | 65 33 43 6f 6c 6f 72 3a |plot*lin|e3Color:|
|00006350| 20 62 6c 75 65 22 2c 0a | 22 25 40 67 6e 75 70 6c | blue",.|"%@gnupl|
|00006360| 6f 74 2a 6c 69 6e 65 34 | 43 6f 6c 6f 72 3a 20 6d |ot*line4|Color: m|
|00006370| 61 67 65 6e 74 61 22 2c | 0a 22 25 40 67 6e 75 70 |agenta",|."%@gnup|
|00006380| 6c 6f 74 2a 6c 69 6e 65 | 35 43 6f 6c 6f 72 3a 20 |lot*line|5Color: |
|00006390| 63 79 61 6e 22 2c 0a 22 | 25 40 67 6e 75 70 6c 6f |cyan",."|%@gnuplo|
|000063a0| 74 2a 6c 69 6e 65 36 43 | 6f 6c 6f 72 3a 20 73 69 |t*line6C|olor: si|
|000063b0| 65 6e 6e 61 22 2c 0a 22 | 25 40 67 6e 75 70 6c 6f |enna",."|%@gnuplo|
|000063c0| 74 2a 6c 69 6e 65 37 43 | 6f 6c 6f 72 3a 20 6f 72 |t*line7C|olor: or|
|000063d0| 61 6e 67 65 22 2c 0a 22 | 25 40 67 6e 75 70 6c 6f |ange",."|%@gnuplo|
|000063e0| 74 2a 6c 69 6e 65 38 43 | 6f 6c 6f 72 3a 20 63 6f |t*line8C|olor: co|
|000063f0| 72 61 6c 22 2c 0a 22 40 | 65 6e 64 20 74 61 62 6c |ral",."@|end tabl|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.